Ramon Quintana

Ramon Quintana

  • 1.5k
  • 337
  • 6.8k

execute a .bat which call a .sql file but got error

Aug 14 2019 1:51 PM
Hi,
 
I´m trying to excute a .sql with a .bat file from Windows CMD but i got this error:
  
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login failed for user 'AD005\z0042hjv'..
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Cannot open database "1RQ_BPCSQL1" requested by the login. The login failed..
 
What and where do i have to check?? 
 
Thanks 

Answers (1)