This is a discussion on Login fails - BCP within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi, I'm getting this message while performing a BCP command... can anyone tell me what this means? Do any ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I'm getting this message while performing a BCP command... can anyone tell me what this means? Do any of you know where to find a list of explanations of NativeErrors and SQLstate errors as well? ************************************* SQLState = 37000, NativeError = 4060 Error = [Microsoft][ODBC SQL Server Driver][SQL Server] Cannot open database requested in login 'XXX'. Login fails. ************************************* Thank you Marc |
| ||||
| It means that you tried to run a BCP command against a database, which you either don't have access to, or doesn't exist. The native error, in this case, is the SQL message id (found in the sysmessages table). Brannon "Marc" <anonymous@discussions.microsoft.com> wrote in message news:3f1c01c49f49$2624a020$a401280a@phx.gbl... > Hi, > > I'm getting this message while performing a BCP command... > can anyone tell me what this means? Do any of you know > where to find a list of explanations of NativeErrors and > SQLstate errors as well? > > ************************************* > SQLState = 37000, NativeError = 4060 > Error = [Microsoft][ODBC SQL Server Driver][SQL Server] > Cannot open database requested in login 'XXX'. Login fails. > ************************************* > > Thank you > Marc |