SQL Server删除整个数据库中表数据的方法(不影响表结构)
摘要:
1.查看数据库中所有表名称: select Name from sysobjects where xtype='U' order by name asc; sysobjects是系统表,关于SQL Server数据库的一切信息都保存在系统表中 2.删除整个数据库表数据: declare c curs 阅读全文
posted @ 2016-10-18 14:55 naodongyeke 阅读(2246) 评论(0) 推荐(0)
浙公网安备 33010602011771号