--试试把表加个别名.
EXEC master..xp_cmdshell 'bcp "select m.e,m.f,m.g from sd..x m, sd..y n where m.a=n.a and m.b=n.b and m.c=n.c and m.d=n.d" queryout d:\tt.txt -c -t, -U -Ppassword'
EXEC master..xp_cmdshell 'bcp "select m.e,m.f,m.g from sd..x m, sd..y n where m.a=n.a and m.b=n.b and m.c=n.c and m.d=n.d" queryout d:\tt.txt -c -t, -U -Ppassword'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货