Informix Error -33032: WITH NO LOG can only be specified for TEMP tables.
Cause and resolution
WITH NO LOG can only be specified for TEMP tables.
You used the WITH NO LOG option in the wrong context. Use it only when you create a TEMP table and you wish to exclude transaction log operations on it. See the IBM Informix Guide to SQL: Syntax for the SQL syntax and proper usage of the WITH NO LOG option.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33032 fires when WITH NO LOG is used outside a TEMP table context — per the official
guidance, it's only valid when creating a TEMP table and excluding transaction-log
operations on it.
WITH NO LOGused on a non-TEMPtable (or outside aCREATE TEMP TABLEcontext), per the official guidance — the direct, only cause.
Solutions / Resolution
- Use
WITH NO LOGonly when creating aTEMPtable, per the official guidance, consulting the IBM Informix Guide to SQL: Syntax for proper usage.
Examples
WITH NO LOG on a non-TEMP table
CREATE TABLE orders (order_id INT) WITH NO LOG;
-- -33032: WITH NO LOG is only valid for TEMP tables
Corrected
CREATE TEMP TABLE orders_tmp (order_id INT) WITH NO LOG;
Diagnostic Checks
- Check the statement using
WITH NO LOG, and confirm it's aCREATE TEMP TABLEstatement.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -33032 in this set yet.
WITH NO LOG was used outside a TEMP table context — it's only valid on CREATE TEMP TABLE.