Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Ned db table structure forTrade sop and auction shop

Joined
Apr 12, 2013
Messages
897
Reaction score
480
There you go, do whatever you want to do with it....i myself think it's retarded to save the ItemName but hey....blame it on the koreans

Code:
-- ----------------------------
-- Table structure for td_Market
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[td_Market]') AND type IN ('U'))
    DROP TABLE [dbo].[td_Market]
GO

CREATE TABLE [dbo].[td_Market] (
  [TransactionNum] bigint  IDENTITY(1,1) NOT NULL,
  [SellingItemUID] bigint  NULL,
  [AccountUID] int  NULL,
  [SellerCharUID] int  NULL,
  [TradeItemKind] tinyint  NULL,
  [ItemName] varchar(140) COLLATE SQL_Latin1_General_CP1_CI_AS  NULL,
  [ItemNum] int  NULL,
  [Count] int  NULL,
  [PrefixCodeNum] int  NULL,
  [SuffixCodeNum] int  NULL,
  [EnchantCount] tinyint  NULL,
  [ShapeItemNum] int  NULL,
  [ColorCode] int  NULL,
  [ReqMinLevel] tinyint  NULL,
  [ReqUnitKind] int  NULL,
  [RegistrationTime] datetime DEFAULT getdate() NULL,
  [TypeOfMoney] tinyint  NULL,
  [Price] int  NULL,
  [TradeStatus] tinyint  NULL,
  [BuyerUID] int DEFAULT 0 NULL,
  [BuyingTime] datetime DEFAULT 0 NULL,
  [InfluenceType] tinyint DEFAULT 0 NULL
)
GO

ALTER TABLE [dbo].[td_Market] SET (LOCK_ESCALATION = TABLE)
GO


-- ----------------------------
-- Auto increment value for td_Market
-- ----------------------------
DBCC CHECKIDENT ('[dbo].[td_Market]', RESEED, 2)
GO
 
Upvote 0
Back
Top