bcp "SELECT au_fname, au_lname FROM 库名..authors ORDER BY au_lname" queryout E:\boc\DT.txt -c -Sservername -Usa -Ppassword
试试: bcp "select a,b,c from 库名..table1 where a like '%string1%' and b like '%string2%' and c like '%string3%' " queryout D:\test.txt -Sserver -Usa -Ppassword -w -e
to :pengdali(大力) 1.肯定有记录. 2.我用的是 database.dbo.table
bcp "select a,b,c from 库名..table1 where a like '%string1%' and b like '%string2%' and c like '%string3%' " queryout D:\test.txt -Sserver -Usa -Ppassword -w -e
to :pengdali(大力) 1.肯定有记录.
2.我用的是 database.dbo.table