Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing Table Structures
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01506130
Message ID:
01506132
Vues:
57
I already have:
select * from mydb.dbo.syscolumns as cols where id=OBJECT_ID('mydb.dbo.mytable')
to get the structure of each table, but how would I compare two of these directly in the stored procedure as a fail-safe prior to running my archive code?
Brandon Harker
Sebae Data Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform