2016年8月19日

创建与删除SQL约束或字段约束

摘要: 1)禁止所有表约束的SQLselect 'alter table '+name+' nocheck constraint all' from sysobjects where type='U'2)删除所有表数据的SQLselect 'TRUNCATE TABLE '+name from sysobj 阅读全文

posted @ 2016-08-19 11:41 Rookie_lee 阅读(479) 评论(0) 推荐(0) 编辑

导航