Messages 1008000 through 1008020

Messages on this page are sorted by SQLCODE. Locate the appropriate code in the table below, and click the link for a full description of the message.

SQL Code Msg Type Number SQL State Message Possible Cause
-1008000L Error 20596 QNA00 "Users are not allowed to create an FP index. FP indexes are created automatically when the table is created." Users are not able to create Fast Projection indexes on columns. They are created automatically when the table is created.

Click here for a list of possible parameters and odbc states.

-1008001L Error 20621 QNA01 "The user cannot create indexes on a join virtual table." Users cannot create indexes on a join virtual table. They are automatically created.

Click here for a list of possible parameters and odbc states.

-1008002L Error 20623 QNA02 "There is a join index using table '%1'. The table cannot be dropped until the join index is dropped or altered." There is at least one join index using this table in a join relationship. The table cannot be dropped until the join index is dropped or it is altered such that it no longer uses this table.

Click here for a list of possible parameters and odbc states.

-1008003L Error 20639 QNA03 "Cannot drop join virtual table '%1'." The user is not allowed to drop a join virtual table. It can be dropped by dropping the join index.

Click here for a list of possible parameters and odbc states.

-1008004L Error 20673 QNA04 "Cannot DROP index '%1'." Users cannot drop internally created indexes except by dropping the table, join index, or alter-dropping the table or join index. Fast Projection indexes are internally created indexes.

Click here for a list of possible parameters and odbc states.

-1008005L Error 20675 QNA05 "Cannot ALTER join virtual table '%1'." The user cannot alter a join virtual table.

Click here for a list of possible parameters and odbc states.

-1008006L Error 20676 QNA06 "You cannot specify a DEFAULT value for a column." The user cannot specify a DEFAULT value for a column during CREATE TABLE or ALTER TABLE ADD COLUMN.

Click here for a list of possible parameters and odbc states.

-1008007L Error 20677 QNA07 "The ALTER TABLE option '%2' is not supported by Sybase IQ. %1" The user entered an option that is not supported by Sybase IQ but is supported by ASA (like REPLICATION ON).

Click here for a list of possible parameters and odbc states.

-1008008L Error 20679 QNA08 "You cannot TRUNCATE a join virtual table." The user is not allowed to TRUNCATE a join virtual table.

Click here for a list of possible parameters and odbc states.

-1008009L Error 20680 QNA09 "This statement is not supported by Sybase IQ." The statement entered is supported by Adaptive Server Anywhere, but not by Sybase IQ.

Click here for a list of possible parameters and odbc states.

-1008010L Error 20681 QNA10 "A request was made to delete the primary key constraint, but the primary key cannot be found." The user wanted to delete the primary key constraint on the table but the primary key could not be found.

Click here for a list of possible parameters and odbc states.

-1008011L Error 20685 QNA11 "Cannot create the join index because the datatype of the underlying join virtual table column is not equal to the datatype of the corresponding base table column '%1'." The underlying jvt column and the corresponding base table column must be of the same datatype in order to create a join index. One way to get this error is to create a join index on tables containing FLOAT columns with a client application that uses an open client (isql) or JDBC (Sybase Central) connection. For such connections, the database option FLOAT_AS_DOUBLE defaults to ON thereby creating jvt columns as type DOUBLE for the FLOAT columns in the base tables. To create the join using one of these tools, the user must first set FLOAT_TO_DOUBLE to OFF. See the 'Database Options' chapter in the ASIQ Reference Manual for details on Database Options.

Click here for a list of possible parameters and odbc states.

-1008012L Error 20990 QNA12 "This unique index/constraint must be ENFORCED." This unique index/constraint must be ENFORCED (The UNENFORCED keyword not allowed for this index/constraint).

Click here for a list of possible parameters and odbc states.

-1008013L Error 20991 QNA13 "This multi-column unique index/constraint must be UNENFORCED." This multi-column unique index/constraint must be UNENFORCED (The UNENFORCED keyword is required for this index/constraint).

Click here for a list of possible parameters and odbc states.

-1008014L Error 20992 QNA14 "This foreign key must be UNENFORCED." This foreign key must be UNENFORCED (The UNENFORCED keyword is required for this foreign key).

Click here for a list of possible parameters and odbc states.

-1008015L Error 20993 QNA15 "This check constraint must be ENFORCED." The keyword UNENFORCED is not supported.

Click here for a list of possible parameters and odbc states.

-1008016L Error 20994 QNA16 "Cannot ALTER DELETE a column that has a unique or primary key constraint." Cannot ALTER DELETE a column that has a unique or primary key constraint. This is a duplicate of an SA error code.

Click here for a list of possible parameters and odbc states.

-1008017L Error 20995 QNA17 "Cannot ALTER DELETE a column that has multi-column index." Cannot ALTER DELETE a column that has multi-column index. This is a duplicate of an SA error code.

Click here for a list of possible parameters and odbc states.

-1008019L Error 21041 QNA19 "Multiplex is currently inactive." The user has either requested a multiplex function or has asked for multiplex status.

Click here for a list of possible parameters and odbc states.

-1008020L Error 21042 QNA20 "Multiplex command or request is unimplemented." The user has requested an unimplemented multiplex feature. This would typically be a status request which doesn't exist.

Click here for a list of possible parameters and odbc states.


Created May 6, 2011. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com