Reserved Keywords

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_reserved_words.htm

 

Table 1. Reserved Keywords
  • abstract
  • activate*
  • and
  • any*
  • array
  • as
  • asc
  • autonomous*
  • begin*
  • bigdecimal*
  • blob
  • break
  • bulk
  • by
  • byte*
  • case*
  • cast*
  • catch
  • char*
  • class
  • collect*
  • commit
  • const*
  • continue
  • convertcurrency
  • decimal
  • default*
  • delete
  • desc
  • do
  • else
  • end*
  • enum
  • exception
  • exit*
  • export*
  • extends
  • false
  • final
  • finally
  • float*
  • for
  • from
  • future
  • global
  • goto*
  • group*
  • having*
  • hint*
  • if
  • implements
  • import*
  • inner*
  • insert
  • instanceof
  • interface
  • into*
  • int
  • join*
  • last_90_days
  • last_month
  • last_n_days
  • last_week
  • like
  • limit
  • list
  • long
  • loop*
  • map
  • merge
  • new
  • next_90_days
  • next_month
  • next_n_days
  • next_week
  • not
  • null
  • nulls
  • number*
  • object*
  • of*
  • on
  • or
  • outer*
  • override
  • package
  • parallel*
  • pragma*
  • private
  • protected
  • public
  • retrieve*
  • return
  • returning*
  • rollback
  • savepoint
  • search*
  • select
  • set
  • short*
  • sort
  • stat*
  • static
  • super
  • switch*
  • synchronized*
  • system
  • testmethod
  • then*
  • this
  • this_month*
  • this_week
  • throw
  • today
  • tolabel
  • tomorrow
  • transaction*
  • trigger
  • true
  • try
  • type*
  • undelete
  • update
  • upsert
  • using
  • virtual
  • webservice
  • when*
  • where
  • while
  • yesterday

The following are special types of keywords that aren’t reserved words and can be used as identifiers.

  • after
  • before
  • count
  • excludes
  • first
  • includes
  • last
  • order
  • sharing
  • with
Print Friendly, PDF & Email
This entry was posted in Administration, Development. Bookmark the permalink.