ColdFusion uses #‘s to delineate variables. In SQL Server a table name with # or ## is temp table and a global temp table respectively. How does one use SQL Temp tables in ColdFusion?
ColdFusion uses # ‘s to delineate variables. In SQL Server a table name with
Share
ColdFusion treats shows ## as a single # in the output. Hence
is pulling from a temp table called #tempUsers
is pulling from a temp table called that is specified in a ColdFusion variable called myTableName
is pulling from a global temp table called ##tempUsers
is pulling from a global temp table called that is specified in a ColdFusion variable called myTableName