#table
refers to a local (visible to only the user who created it) temporary table.
##table
refers to a global (visible to all users) temporary table.
@variableName
refers to a variable which can hold values depending on its type.
More Related Contents:
- incorrect syntax near keyword where [closed]
- nvarchar concatenation / index / nvarchar(max) inexplicable behavior
- How do I get list of all tables in a database using TSQL?
- Escape a string in SQL Server so that it is safe to use in LIKE expression
- SQL time difference between two dates result in hh:mm:ss
- Storing files in SQL Server
- Dapper.NET and stored proc with multiple result sets
- “order by newid()” – how does it work?
- Import ‘xml’ into Sql Server
- Query times out when executed from web, but super-fast when executed from SSMS
- T-SQL Dynamic SQL and Temp Tables
- Efficient ISNUMERIC() replacements on SQL Server?
- How to determine total number of open/active connections in ms sql server 2005
- Login to Microsoft SQL Server Error: 18456
- Find non-ASCII characters in varchar columns using SQL Server
- Disadvantages of MARS (Multiple Active Result Sets)?
- SQL Server Output Clause into a scalar variable
- Replace single quotes in SQL Server
- Why is sql server storing question mark characters instead of Japanese characters in NVarchar fields?
- sql use statement with variable
- How to create a yes/no boolean field in SQL server?
- Copy table to a different database on a different SQL Server
- Include missing months in Group By query
- How to set value to variable using ‘execute’ in t-sql?
- Data generators for SQL server? [closed]
- Taking the second last row with only one select in SQL Server?
- SQL Server Maximum rows that can be inserted in a single insert statment
- What is the difference between Cartesian product and cross join?
- How to Bulk Insert from XLSX file extension?
- Count number of records returned by group by