MSforeachtable

sql server 2012中系统存储过程sp_MSforeachtable的使用方法

--系统存储过程sp_MSforeachtable的使用方法 --01.print所有以ap_开头的表的表名称 EXEC sp_MSforeachtable @command1 = 'print ''?''', @whereand = 'and o.name like ''ap_%'''; --02 ......
共1篇  :1/1页 首页上一页1下一页尾页