I am trying to export the file using bcp and my error is
C:\Users\rajesh>bcp Adventureworks.HumanResources.Department out c:\test\dept.txt -n -SLaasya -T
SQLState = 37000, NativeError = 4060
Error = [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot open databa
se "Adventureworks" requested by the login. The login failed.
SQLState = 28000, NativeError = 18456
Error = [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for u
ser 'LAASYA\rajesh'.
I am new to sql. please help me..