SQL Server Performance Forum – Threads Archive
BCP Output File Problem
Hi All, I am running the following BCP process in all SQL Servers at my client place.BCP "SELECT * from Northwind..Customers" queryout C:Test.txt -c -U XXX -P XXX -S XXX Everywhere it is putting records in the text file except one server. In that server it is always putting 0 records in the text file. The server has SQL Server Developer Edition with SP3. (Product version: 8.00.760(SP3) under Operating System Windows NT 5.0(2195). Could you please let me know why it is not putting records in the output file? Do I need to change any setup in the server or we have to add any other condition in the BCP. Thanks a lot.
prem…
1.<br />Verify that data exist in the table on that server <img src=’/community/emoticons/emotion-1.gif’ alt=’

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by Argyle</i><br /><br />1.<br />Verify that data exist in the table on that server <img src=’/community/emoticons/emotion-1.gif’ alt=’

Do you get any errors in the NT event logs? Is the servers set up for mixed authentication so that you actually can login with a sql user and password and not just an NT account?
]]>