Thursday, 27 December 2018

Oracle Reserved Words

Oracle Reserved Words

The following words are reserved by Oracle. That is, they have a special meaning to Oracle and so cannot be redefined. For this reason, you cannot use them to name database objects such as columns, tables, or indexes.
Oracle Reserved Words
ACCESSELSEMODIFYSTART
ADDEXCLUSIVENOAUDITSELECT
ALLEXISTSNOCOMPRESSSESSION
ALTERFILENOTSET
ANDFLOATNOTFOUNDSHARE
ANYFORNOWAITSIZE
ARRAYLENFROMNULLSMALLINT
ASGRANTNUMBERSQLBUF
ASCGROUPOFSUCCESSFUL
AUDITHAVINGOFFLINESYNONYM
BETWEENIDENTIFIEDONSYSDATE
BYIMMEDIATEONLINETABLE
CHARINOPTIONTHEN
CHECKINCREMENTORTO
CLUSTERINDEXORDERTRIGGER
COLUMNINITIALPCTFREEUID
COMMENTINSERTPRIORUNION
COMPRESSINTEGERPRIVILEGESUNIQUE
CONNECTINTERSECTPUBLICUPDATE
CREATEINTORAWUSER
CURRENTISRENAMEVALIDATE
DATELEVELRESOURCEVALUES
DECIMALLIKEREVOKEVARCHAR
DEFAULTLOCKROWVARCHAR2
DELETELONGROWIDVIEW
DESCMAXEXTENTSROWLABELWHENEVER
DISTINCTMINUSROWNUMWHERE
DROPMODEROWSWITH

Oracle Keywords

The following words also have a special meaning to Oracle but are not reserved words and so can be redefined. However, some might eventually become reserved words.
Oracle Keywords
ADMINCURSORFOUNDMOUNT
AFTERCYCLEFUNCTIONNEXT
ALLOCATEDATABASEGONEW
ANALYZEDATAFILEGOTONOARCHIVELOG
ARCHIVEDBAGROUPSNOCACHE
ARCHIVELOGDECINCLUDINGNOCYCLE
AUTHORIZATIONDECLAREINDICATORNOMAXVALUE
AVGDISABLEINITRANSNOMINVALUE
BACKUPDISMOUNTINSTANCENONE
BEGINDOUBLEINTNOORDER
BECOMEDUMPKEYNORESETLOGS
BEFOREEACHLANGUAGENORMAL
BLOCKENABLELAYERNOSORT
BODYENDLINKNUMERIC
CACHEESCAPELISTSOFF
CANCELEVENTSLOGFILEOLD
CASCADEEXCEPTMANAGEONLY
CHANGEEXCEPTIONSMANUALOPEN
CHARACTEREXECMAXOPTIMAL
CHECKPOINTEXPLAINMAXDATAFILESOWN
CLOSEEXECUTEMAXINSTANCESPACKAGE
COBOLEXTENTMAXLOGFILESPARALLEL
COMMITEXTERNALLYMAXLOGHISTORYPCTINCREASE
COMPILEFETCHMAXLOGMEMBERSPCTUSED
CONSTRAINTFLUSHMAXTRANSPLAN
CONSTRAINTSFREELISTMAXVALUEPLI
CONTENTSFREELISTSMINPRECISION
CONTINUEFORCEMINEXTENTSPRIMARY
CONTROLFILEFOREIGNMINVALUEPRIVATE
COUNTFORTRANMODULEPROCEDURE
PROFILESAVEPOINTSQLSTATETRACING
QUOTASCHEMASTATEMENT_IDTRANSACTION
READSCNSTATISTICSTRIGGERS
REALSECTIONSTOPTRUNCATE
RECOVERSEGMENTSTORAGEUNDER
REFERENCESSEQUENCESUMUNLIMITED
REFERENCINGSHAREDSWITCHUNTIL
RESETLOGSSNAPSHOTSYSTEMUSE
RESTRICTEDSOMETABLESUSING
REUSESORTTABLESPACEWHEN
ROLESQLTEMPORARYWRITE
ROLESSQLCODETHREADWORK
ROLLBACKSQLERRORTIME 

PL/SQL Reserved Words

The following PL/SQL keywords may require special treatment when used in embedded SQL statements.

PL/SQL Reserved Words
ABORTBETWEENCRASHDIGITS
ACCEPTBINARY_INTEGERCREATEDISPOSE
ACCESSBODYCURRENTDISTINCT
ADDBOOLEANCURRVALDO
ALLBYCURSORDROP
ALTERCASEDATABASEELSE
ANDCHARDATA_BASEELSIF
ANYCHAR_BASEDATEEND
ARRAYCHECKDBAENTRY
ARRAYLENCLOSEDEBUGOFFEXCEPTION
ASCLUSTERDEBUGONEXCEPTION_INIT
ASCCLUSTERSDECLAREEXISTS
ASSERTCOLAUTHDECIMALEXIT
ASSIGNCOLUMNSDEFAULTFALSE
ATCOMMITDEFINITIONFETCH
AUTHORIZATIONCOMPRESSDELAYFLOAT
AVGCONNECTDELETEFOR
BASE_TABLECONSTANTDELTAFORM
BEGINCOUNTDESCFROM
FUNCTIONNEWRELEASESUM
GENERICNEXTVALREMRTABAUTH
GOTONOCOMPRESSRENAMETABLE
GRANTNOTRESOURCETABLES
GROUPNULLRETURNTASK
HAVINGNUMBERREVERSETERMINATE
IDENTIFIEDNUMBER_BASEREVOKETHEN
IFOFROLLBACKTO
INONROWIDTRUE
INDEXOPENROWLABELTYPE
INDEXESOPTIONROWNUMUNION
INDICATORORROWTYPEUNIQUE
INSERTORDERRUNUPDATE
INTEGEROTHERSSAVEPOINTUSE
INTERSECTOUTSCHEMAVALUES
INTOPACKAGESELECTVARCHAR
ISPARTITIONSEPARATEVARCHAR2
LEVELPCTFREESETVARIANCE
LIKEPOSITIVESIZEVIEW
LIMITEDPRAGMASMALLINTVIEWS
LOOPPRIORSPACEWHEN
MAXPRIVATESQLWHERE
MINPROCEDURESQLCODEWHILE
MINUSPUBLICSQLERRMWITH
MLSLABELRAISESTARTWORK
MODRANGESTATEMENTXOR
MODEREALSTDDEV 
NATURALRECORDSUBTYPE

Oracle Reserved Words

Oracle  Reserved Words The following words are reserved by Oracle. That is, they have a special meaning to Oracle and so cannot be redefi...