2005年11月6日
摘要: select 'bcp pubs..'+name+' out'+' d:\test\'+name+'.txt -c -Stechnology1 -Usa -P' from sysobjects where type = 'U' 阅读全文
posted @ 2005-11-06 01:13 轻舞flash 阅读(459) 评论(0) 推荐(0) 编辑
摘要: FETCH NEXT FROM @tables_cursor INTO @tablename 15WHILE (@@fetch_status -1) 16BEGIN 17EXEC ('Select ' + @quote+'Rows in ' + @tablename + ' = '+ @quote + ', count(*) from '+ @tablename) 18FETCH NEXT FROM @tables_cursor INTO @tablename 19END 阅读全文
posted @ 2005-11-06 01:08 轻舞flash 阅读(193) 评论(1) 推荐(0) 编辑