Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

BCP Environment variable pointing to Sybase how to change it back to SQL Server

$
0
0

Hello There,

When I sun this simple command 

EXEC master..xp_cmdshell 'BCP PDF13.dbo.TextFileRaw out D:\projects\dddd.txt -E -T -c'

I get  this error message 
output
------------------------------------------------------------------------------------------------------------------------------------------Warning: Ignoring 'E' flag when copying out. Password: CTLIB Message: - L1/O1/S1/N138/1/0: : user api layer: external error: A data length of 255 exceeds the maximum length allowed for password data. Setting connection properties failed. NULL (6 rows affected)
Looks like I have Installed a set of Sybase drivers and it changed the environment variable to point to Sybase's BCP and not SQL Server's BCP. -Came to know after some research but were to change the Environment variable back to point to SQL Server, I am not sure

Please advice

Thanks

Senthil


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>