
In this example, you use the SQLError class of the sdb.sql module. To generate exceptions of this class, you create the following error situations: Execute a SELECT statement with an incorrect column name, and execute an SQL statement with an incorrect parameter.