ASA Error Messages
Database Error Messages
Alphabetic list of error messages
| Item | Value |
|---|---|
| SQLCODE | -702 |
| Constant | SQLE_CANNOT_TRUNCATE_VIEW |
| SQLSTATE | 42W49 |
| Sybase error code | 4708 |
| ODBC 2 State | 37000 |
| ODBC 3 State | 42000 |
You attempted to use TRUNCATE TABLE on a view. The TRUNCATE TABLE statement deletes every row from a table and cannot be used to delete rows from a view. Replace the view reference with the name of a base table.