Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » ULSqlcaBase class


GetSQLErrorOffset function

Gets the error offset in dynamic SQL statement.

ul_s_long ULSqlcaBase::GetSQLErrorOffset()
  • When applicable, the return value is the offset into the associated dynamic SQL statement (which is then passed to the PrepareStatement function) that corresponds to the current error.

  • When not applicable, the return value is -1.