The ##
is to escape a literal #
so it is part of the SQL passed to the database. (As opposed to marking a CFML hash expression.)
#tablename
is Microsoft SQL Server syntax for a local temporary table.
The Completions
bit is just an arbitrary table name (hence why searching for it wouldn't bring up anything relevant).
Note that there are also global temporary tables, written as ##tablename
, which would need to be escaped to ####tablename
in cfquery.