表查寻结构

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[mywqsTblNameAll]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[mywqsTblNameAll]
GO

CREATE TABLE [dbo].[mywqsTblNameAll] (
    [TblName] [char] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
    [TblKey] [char] (50) COLLATE Chinese_PRC_CI_AS NULL ,
    [TblMemo] [char] (50) COLLATE Chinese_PRC_CI_AS NULL ,
    [Tblisnull] [int] NULL ,
    [isJinChang] [bit] NULL ,
    [tblbelong] [char] (10) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]
GO

posted on 2009-09-08 23:39  舟山牙医  阅读(171)  评论(0编辑  收藏  举报

导航