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 GitHub by adrinjalali
, 1 year ago
SQL Error [102] [S0001]: Incorrect syntax near '06'.
org.jkiss.dbeaver.DBException: SQL Error [102] [S0001]: Incorrect syntax near '06'. at org.jkiss.dbeaver.ext.mssql.model.SQLServerMetaModel.extractSource(SQLServerMetaModel.java:151) at org.jkiss.dbeaver.ext.mssql.model.SQLServerMetaModel.getProcedureDDL(SQLServerMetaModel.java:62) at org.jkiss.dbeaver.ext.generic.model.GenericProcedure.getObjectDefinitionText(GenericProcedure.java:270) at org.jkiss.dbeaver.ui.editors.sql.SQLSourceViewer.getSourceText(SQLSourceViewer.java:54) at org.jkiss.dbeaver.ui.editors.sql.SQLEditorNested$ObjectDocumentProvider$1.run(SQLEditorNested.java:233) at org.jkiss.dbeaver.runtime.TasksJob.run(TasksJob.java:61) at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '06'. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216) at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350) at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:285) at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCPreparedStatementImpl.executeQuery(JDBCPreparedStatementImpl.java:224) at org.jkiss.dbeaver.ext.mssql.model.SQLServerMetaModel.extractSource(SQLServerMetaModel.java:142) ... 7 more