Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find stored procedure
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
01672704
Message ID:
01672720
Vues:
45
>How do you drop table #SPList? That is, if I run your script more than one time, the error message is that this object is already in DB. So, I suppose, I need to drop it first, if it exists.
>

if object_id('tempdb..#SPList', N'U') is not null drop table #SPList;
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform