Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking if a table exists
Message
 
À
29/02/2008 10:56:26
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01297733
Message ID:
01297738
Vues:
11
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[MyTable]') and OBJECTPROPERTY(id, N'IsTable') = 1)
drop table [dbo].[MyTable]
Woodie Westbrook
I came, I saw, I compiled.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform