error while using BCP

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

  • You have no permissions to use the database.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply