Hi,I'm logged into my (local) Database Engine locally using a Windows Authentication.I tried executing the following commandexec master.dbo.xp_cmdshell 'bcp Northwind..table out maudit_%date:~4,2%_%date:~7,2%_%date:~10,4%.txt /c /Udomaine\login /P /r\n'
This generates an error :SQLState = 28000, NativeError = 18456Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'login'.NULL
Any work around please!--------------------------Joins are what RDBMS's do for a living