com.microsoft.sqlserver.jdbc.SQLServerException: Line 1: Incorrect syntax near 'LOGIN'.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via opengts by gtssam08
, 1 year ago
Line 1: Incorrect syntax near 'LOGIN'.
via opengts by littellm
, 1 year ago
Incorrect syntax near the keyword 'User'.
via Stack Overflow by user2184723
, 2 years ago
via Stack Overflow by bhasker
, 2 years ago
Incorrect syntax near the keyword 'user'.
com.microsoft.sqlserver.jdbc.SQLServerException: Line 1: Incorrect syntax near 'LOGIN'.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:196)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1454)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(SQLServerStatement.java:786)
at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(SQLServerStatement.java:685)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4026)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1416)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:185)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:160)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeUpdate(SQLServerStatement.java:642)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
85 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.