摘要:
DECLARE tables_cursor CURSOR FOR SELECT top 100 name FROM sysobjects WHERE type = 'U' order by name OPEN tables_cursor DECLARE @tablename varchar(30), @quote char(1) SELECT @quote = '' FETCH NEXT FROM tables_cursor INTO @tablename WHILE (@@fetch_status <> -1) BEGIN EXEC ('S 阅读全文
posted @ 2011-12-03 08:15
快乐121
阅读(182)
评论(0)
推荐(0)
浙公网安备 33010602011771号