The SQL code value for the success or failure of the last database operation.
' Visual Basic
Public Readonly Property LastSQLCode As SQLCode
// C#
public SQLCode LastSQLCode {get;}
The SQL code is a standard Adaptive Server Anywhere code and is reset by any subsequent UltraLite database operation on this connection.
When a SQLException is thrown, the error code in the exception supercedes the error code returned by LastSQLCode property or the results from IsLastFetchOK property and IsLastCodeOK property.
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.