SQL批量刪除表、數據

DECLARE @table NVARCHAR(30) DECLARE tmpCur CURSOR FOR SELECT name FROM sys.objects WHERE TYPE='U' AND name LIKE N'Z%' OPEN tmpCur FETCH NEXT FROM tmpCur INTO @table WHILE @@FETCH_STATUS = 0
相關文章
相關標籤/搜索