No announcement yet.
  • Filter
  • Time
Clear All
new posts

    Error SQL Browser - Only specific tables


    First of all I am testing SmartClient to use maybe in a productive envioment.
    The first steps are very easy and well documented but now I am stucked with a problem thats makes no sense to me.

    I set a Connection to a SQL Server (2016) and I can also browse with the integrated SQL Browser to the different tables and see the data
    except three tables (same database). If I click to those tables I get an error:

    java.sql.SQLException: Falsche Syntax in der Nähe des USER-Schlüsselworts.
    at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(
    at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(
    at net.sourceforge.jtds.jdbc.TdsCore.nextToken(
    at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(
    at org.apache.commons.dbcp.DelegatingStatement.executeQuery(
    at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(
    at com.isomorphic.sql.SQLDataSource.SQLExecute(
    at com.isomorphic.sql.SQLDataSource.processRequest(
    at com.isomorphic.sql.SQLDataSource.executeFetch(
    at com.isomorphic.datasource.DataSource.execute(DataSourc<br><br>...(3908 bytes truncated - set isc.RPCManager.maxErrorMessageLength >

    Hi DaveS,

    start by having a look at the server log - it will contain the SQL statement. Perhaps you can find out the actual problem copying that statement and running it in you DB script runner (SQL Developer for Oracle, Query Analyzer(? not sure anymore) for SQL Server.

    As the log you show includes "executeWindowedSelect", perhaps the issue is with the form of ROWNUM / LIMIT used to limit the number of results? If so, there is a setting in, that controls this behavior.

    Best regards


      Thank you. It works now.