Define Local temporary table and global temporary table. - Local temporary table is created by prefixing name with pound sign like (#table_name). - Global temporary table is created by prefixing name with Double pound sign like (##table_name). - Local temporary table is dropped when the stored procedure completes. - Global temporary tables are dropped when session that created the table ends
|