February 10, 2006 at 6:29 am
Hi guys,
I tried to execute in query analyzer (I connect with windows authentication) this cmd:
exec master.dbo.xp_cmdshell 'Bcp "SELECT * FROM db.dbo.table" queryout "d:\test" -n -S . -T',
and the error is:
Error = [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'domain\user'.
If I execute the bcp cmd directly from cmd line, the bcp is execute without problem.
Do you have any suggestion?
thank
February 10, 2006 at 8:29 am
Sorry,
the error is:
Error = [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'domain\machine'.
the problem is that: I log on to windows as domain\user and log on to SQLserver with windows authentication, but the login is 'domain\machine' ???
Any suggestion
February 10, 2006 at 8:34 am
Your,
Windows Domain settings are chaged.
You should login the SQL TO sa
The Sql Server Administrator Account
February 10, 2006 at 3:36 pm
I'm thinking that you are right.
thank a lot, I will investigate in this way...
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply