摘要:
--在表中添加字段if col_length('JX_DomesticStudy','XL') is nullbeginalter table JX_DomesticStudy add PXlevel int default 0 endgo--创建表if not exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[JX_PXlevel]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)begin CREATE 阅读全文