Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Titre:
Re: Object
Divers
Thread ID:
00975053
Message ID:
00975055
Vues:
16
if exists (select * from dbo.sysobjects 
		where id = object_id(N'dbo.mytable') 
		and OBJECTPROPERTY(id, N'IsUserTable') = 1)
	drop table dbo.mytable
> How can I check if a table exist and if id does I want to drop that table?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform