getLastError(native: Integer output; state: String output): String updating;
The getLastError method of the ExternalDatabase class can be called to return error information for the last ODBC exception when the isSQLValid method returns false. The error is returned as the text string associated with the errorCode property of the Exception class.
The native parameter contains the error code of the native data-source from the