java.sql.SQLException: Must declare the scalar variable "@P0".

jtds | marques77 | 2 years ago
  1. 0

    Passing parameters by name with ResultSet.TYPE_SCROLL_INSENSITIVE or TYPE_SCROLL_SENSITIVE

    jtds | 2 years ago | marques77
    java.sql.SQLException: Must declare the scalar variable "@P0".
  2. 0

    flyway:clean doesnt remove check constraint

    GitHub | 3 years ago | lrozek
    java.sql.SQLException: Cannot DROP FUNCTION 'dbo.CHECK_UNTERNEHMEN_OVERLAPPING_GFK' because it is being referenced by object 'U_C_UNTERNEHMEN_GFK_NUMMER'.
  3. 0

    SQL Server Unable to drop schema when functions exist

    GitHub | 3 years ago | flyway
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.flyway:flyway-maven-plugin:2.1.1:clean (default-cli) on project sql-fod-flyway: Flyway Error: com.googlecode.flyway.core.api.FlywayException: Unable to clean schema [dbo]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MS Server 2008 Incorrect syntax near the keyword 'NOT'

    GitHub | 5 years ago | lifengllk
    java.sql.SQLException: Incorrect syntax near the keyword 'NOT'.
  6. 0

    Question: Aborting River - Never Restarts

    GitHub | 3 years ago | jdilley java.sql.SQLException: Transaction (Process ID 959) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      Must declare the scalar variable "@P0".

      at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic()
    2. jTDS
      1. net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(
      2. net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(
      3. net.sourceforge.jtds.jdbc.TdsCore.nextToken(
      4. net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(
      5. net.sourceforge.jtds.jdbc.MSCursorResultSet.processOutput(
      6. net.sourceforge.jtds.jdbc.MSCursorResultSet.cursorCreate(
      7. net.sourceforge.jtds.jdbc.MSCursorResultSet.<init>(
      8. net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(
      9. net.sourceforge.jtds.jdbc.JtdsPreparedStatement.execute(
      9 frames