How to get SQL error message ?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by gnozal.

Is there a way to get the SQL error message (like ORACLE ERROR ORA-XXXXX)?

If DatabaseQuery(SQLCommand$)
' Do stuff
Else
' SQL ERROR : how to get it ?
EndIf