Was this page helpful?
Caution
You're viewing documentation for a previous version. Switch to the latest stable version.
Reserved CQL Keywords¶
CQL distinguishes between reserved and non-reserved keywords.
Reserved keywords cannot be used as identifiers. They are truly reserved for the language (but one can enclose a reserved keyword by single or double-quotes to use it as an identifier). The following keywords are reserved:
- ADD 
- ALLOW 
- ALTER 
- AND 
- APPLY 
- ASC 
- AUTHORIZE 
- BATCH 
- BEGIN 
- BY 
- COLUMNFAMILY 
- CREATE 
- DELETE 
- DESC 
- DESCRIBE 
- DROP 
- ENTRIES 
- EXECUTE 
- FROM 
- FULL 
- GRANT 
- IF 
- IN 
- INDEX 
- INFINITY 
- INSERT 
- INTO 
- KEYSPACE 
- LIMIT 
- MODIFY 
- NAN 
- NORECURSIVE 
- NOT 
- NULL 
- OF 
- ON 
- OR 
- ORDER 
- PRIMARY 
- RENAME 
- REPLACE 
- REVOKE 
- SCHEMA 
- SELECT 
- SET 
- TABLE 
- TO 
- TOKEN 
- TRUNCATE 
- UNLOGGED 
- UPDATE 
- USE 
- USING 
- VIEW 
- WHERE 
- WITH 
Copyright
© 2016, The Apache Software Foundation.
Apache®, Apache Cassandra®, Cassandra®, the Apache feather logo and the Apache Cassandra® Eye logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. No endorsement by The Apache Software Foundation is implied by the use of these marks.