请问用bcp导出数据时,能加上选择条件么
bcp database..table out test.txt -c -S servername -U username -P password
我要加上条件后导出 select id1,id2 from table where 条件可以么,好像试出来不行,条件语句应该放在哪里?
---------------------------------------------------------------
bcp "select id1,id2 from tab where ..." queryout "c:\test.txt" -c -S servername -U username -P password