创建BC_USER表 实例

2008-01-12 17:02

USE [web]
GO
/****** 对象: Table [dbo].[BC_USER]    脚本日期: 01/12/2008 17:01:12 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[BC_USER](
[I_id] [int] IDENTITY(1,1) NOT NULL,
[S_loginName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
[S_password] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
[S_name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
[S_sex] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[S_type] [int] NULL,
[S_position] [int] NULL,
[S_birthday] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[S_tel] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[S_mob] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[S_card] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[S_mail] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[S_address] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[i_shop] [int] NULL,
[S_deFlag] [char](10) COLLATE Chinese_PRC_CI_AS NULL,
[i_CompanyID] [int] NULL,
[S_pswState] [char](1) COLLATE Chinese_PRC_CI_AS NULL,
[I_FunctionID] [int] NULL,
[s_mymemo] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
[S_State] [nvarchar](16) COLLATE Chinese_PRC_CI_AS NULL,
[S_AddressNow] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NULL,
[S_UpdateDate] [datetime] NULL,
[S_AuditingMoney] [decimal](18, 0) NULL,
CONSTRAINT [PK_BC_USER] PRIMARY KEY CLUSTERED
(
[I_id] 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

你可能感兴趣的:(创建BC_USER表 实例)