-
Apprentice
ShopItemMap Error Help
Error Query [SELECT * FROM RanShop.dbo.ShopItemMap where ItemSec = '1' and hidden='0' order by ProductNum desc]
What Causes a solution or not.
-
-
ImJustaNewbie
Re: ShopItemMap Error Help
follow this
Delete the
ShopItemMap
RanShop>Tables>ShopItemMap ( righ click and delete)
Warning! it will wipe out your old items on item shop
Then Execute
Code:
===========================================================================================================
USE [RanShop]
GO
/****** Object: Table [dbo].[RanShop] Script Date: 04/15/2012 22:40:02 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[ShopItemMap](
[ProductNum] [int] IDENTITY(1,1) NOT NULL,
[ItemMain] [int] NULL,
[ItemSub] [int] NULL,
[ItemName] [varchar](100) NULL,
[ItemSec] [int] NULL,
[ItemPrice] [varchar](100) NULL,
[Itemstock] [varchar](100) NULL,
[ItemCtg] [int] NULL,
[Itemexp] [varchar](100) NULL,
[ItemIco] [varchar](100) NULL,
[ItemSS] [varchar](100) NULL,
[date] [datetime] NOT NULL CONSTRAINT [DF_ShopItemMap_date] DEFAULT (getdate()),
CONSTRAINT [PK_ShopItemMap] PRIMARY KEY CLUSTERED
(
[ProductNum] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
-
Apprentice
Re: ShopItemMap Error Help

Originally Posted by
S A C R E D
follow this
This result was unchanged.
-
ImJustaNewbie
Re: ShopItemMap Error Help