日期:2014-05-18 浏览次数:20863 次
CREATE TABLE [dbo].[sys_Login]( [Fid] [nvarchar](50) NOT NULL, [Fname] [nvarchar](50) NULL, [F_Pwd] [nvarchar](250) NULL, [F_Sex] [char](10) NULL, [F_BM] [nvarchar](50) NULL, [F_ZhiWei] [nvarchar](50) NULL, [F_InDate] [nvarchar](50) NULL, [F_Birthday] [nvarchar](50) NULL, [F_Phone] [nvarchar](50) NULL, [F_ZJType] [nvarchar](50) NULL, [F_ZJNumber] [nvarchar](50) NULL, [F_XL] [nvarchar](50) NULL, [F_One] [nvarchar](4000) NULL, [F_Two] [nvarchar](4000) NULL, [F_Three] [nvarchar](4000) NULL, [F_State] [int] NULL, CONSTRAINT [PK_sys_Login] PRIMARY KEY CLUSTERED ( [Fid] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] SET ANSI_PADDING OFF ALTER TABLE [dbo].[sys_Login] ADD CONSTRAINT [DF_sys_Login_F_State] DEFAULT ((0)) FOR [F_State]
string sql=" CREATE TABLE [dbo].[sys_Login]( [Fid] [nvarchar](50) NOT NULL, [Fname] [nvarchar](50) NULL, [F_Pwd] [nvarchar](250) NULL, [F_Sex] [char](10) NULL, [F_BM] [nvarchar](50) NULL, [F_ZhiWei] [nvarchar](50) NULL, [F_InDate] [nvarchar](50) NULL, [F_Birthday] [nvarchar](50) NULL, [F_Phone] [nvarchar](50) NULL, [F_ZJType] [nvarchar](50) NULL, [F_ZJNumber] [nvarchar](50) NULL, [F_XL] [nvarchar](50) NULL, [F_One] [nvarchar](4000) NULL, [F_Two] [nvarchar](4000) NULL, [F_Three] [nvarchar](4000) NULL, [F_State] [int] NULL, CONSTRAINT [PK_sys_Login] PRIMARY KEY CLUSTERED ( [Fid] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] SET ANSI_PADDING OFF ALTER TABLE [dbo].[sys_Login] ADD CONSTRAINT [DF_sys_Login_F_State] DEFAULT ((0)) FOR [F_State] "