User Guide

12 Chapter 1: Reserved Words and Variables
cffile
cfftp
cfhttp
cfindex
cfldap
cfpop
cfquery
cfregistry
cfsearch
cfstoredproc
ColdFusion query variables
A ColdFusion tag that returns a query object supports the following variables, where queryname is
the value of the
name attribute:
queryname.CurrentRow
queryname.RecordCount
queryname.ColumnList
CFCATCH variables
Within a
cfcatch block, the active exception properties can be accessed as the following
variables:
CFCATCH.Type
CFCATCH.Message
CFCATCH.Detail
CFCATCH.ErrNumber
CFCATCH.NativeErrorCode
CFCATCH.SQLState
CFCATCH.LockName
CFCATCH.LockOperation
CFCATCH.MissingFileName
CFCATCH.TagContext
CFCATCH.ErrorCode
CFCATCH.ExtendedInfo
Within a cfcatch block, database exception properties can be accessed as the following variables:
CFCATCH.QueryError
CFCATCH.SQL
CFCATCH.Where
CFCATCH.Datasource
Within a cfcatch block, undefined variable exception properties can be accessed as the following
variable:
CFCATCH.Name
Within a cfcatch block, syntax and parsing exception properties can be accessed as the following
variables:
CFCATCH.TokenText
CFCATCH.Snippet
CFCATCH.Column
CFCATCH.KnownColumn