标签:rop each ble drop row 查询 into for reac
CREATE TABLE temp (TableName VARCHAR (255), RowCnt INT)
EXEC sp_MSforeachtable ‘INSERT INTO temp SELECT ‘‘?‘‘,COUNT(*) FROM ?‘
SELECT TableName, RowCnt FROM temp ORDER BY TableName
DROP TABLE temp
标签:rop each ble drop row 查询 into for reac
原文地址:https://www.cnblogs.com/Brokenshelltao/p/11555816.html