sql - Global Temporary table delete operation -


Whether or not there is a global floating table in SQL Server, if yes, to delete that global floating table?

I am trying to execute it:

  If OBJECIDID ('## Table', 'U') is not a Null Drop Table # Table < / Code> 

... but it is not working.

check the existence of a temporary table and delete it

  IF OBJECT_ID ('tempdb. # Table', 'U') is not a null drop table ## Table  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -