数据库新建表

时间:2021-02-05 10:35:00   收藏:0   阅读:0
if OBJECT_ID(N‘tSeventyTwoRpt‘,N‘U‘) is not null
begin
    print ‘表存在!‘
end
else
begin
    print ‘表不存在!‘
    CREATE TABLE [dbo].[tSeventyTwoRpt](
    [d_Date] [date] NOT NULL,
    [n_RescueCount] [int] NULL,
    [n_UnplanReturn] [int] NULL,
    [s_SuccessRate] [decimal](18, 4) NULL
) ON [PRIMARY]
end

看看我

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!