Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check if a temp table exists
Message
 
 
À
26/08/2005 06:06:15
Stanley Yip
Shun Sang (technology) ltd Hong Kong
Hong Kong, Hong Kong
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01044235
Message ID:
01044299
Vues:
17
>I use select into #temp to creat a #temp table
>then use what command to check if #temp in exits
>because I want to check if #temp is exits then drop it
IF object_id('tempdb..#temp01') IS NOT NULL
	DROP TABLE #temp01
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform