In SQL Server, what is the difference between a @ table, a # table and a ## table?
#table refers to a local (visible to only the user who created it) temporary table.
#table
##table refers to a global (visible to all users) temporary table.
##table
@variableName refers to a variable which can hold values depending on its type.
@variableName