随笔-5  评论-7  文章-1  trackbacks-0
DataBase
要将一个数据库的所有表格使用批通信程序取出(BCP OUT),有何较快的方法?
摘要: 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 阅读(220) | 评论 (0) 编辑
null
摘要: 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 阅读(50) | 评论 (1) 编辑

发即时信息给我

昵称:轻舞flash
园龄:6年4个月
粉丝:0
关注:1
<2012年2月>
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910

搜索

 
 

常用链接

随笔分类

文章分类

相册