Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Exporting Temp Table

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-10-30 : 07:08:58
Jose writes "I'm trying to export a temporal table using the following setence

bcp "SELECT * FROM tempdb..##TecateVista " queryout "c:\TecateVista_10-26-06.csv" -U tress -P test -c

but I get the following error

SQLState = 28000, NativeError = 18456
Error = [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'tress'.
NULL"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2006-10-30 : 07:09:31
You didn't specify which server to connect to, using the -S parameter.
Go to Top of Page
   

- Advertisement -