1。利用DTS将数据从sql server中导到文本文档中,1次只能一个表
2。不能设置的。

解决方案 »

  1.   

    除非你导入到access or其他的数据库中。
      

  2.   

    如果五个表的表结构一样.
    试试:
    EXEC master..xp_cmdshell 'BCP "select * from 库.dbo.表1 union all select * from 库.dbo.表2 union all select * from 库.dbo.表3 union all select * from 库.dbo.表4 union all select * from 库.dbo.表5" 
    queryout E:\实验用数据库\sss.txt -c -S7824558CF32B4F1\SQL01 -Usa -P520520'
      

  3.   

    我重装sql7前把data目录下的mdf和ldf文件都copy出来了,重装后copy回,结果没用,怎么回事?