SQL SERVER 2005+中使用系统存储过程遍历所有表

EXEC sp_MsforeachTable N'drop table ?'

以上是删除所有表:)

posted @ 2010-01-05 17:35  kkun  阅读(590)  评论(0)    收藏  举报