Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

error while using BCP

$
0
0

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..


Viewing all articles
Browse latest Browse all 4729

Trending Articles



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