|
Just wanna know, if what is the use of # symbol beside the table name PaySlip? Thanks and regards.
(comments are locked)
|
|
This creates a temporary table which is locally scoped to the connection. This temporary table will be automatically dropped when the connection using it is terminated (or the table is explicitly dropped). You can also have ## global temporary tables which are server scoped, thus accessible by any connection, and automatically dropped when there are no more connections using it. Finally you can have @ table variables which are scoped to the query and not stored beyond that.
(comments are locked)
|
|
The symbol # show the object is temporary
(comments are locked)
|

