Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing Table Structures
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01506130
Message ID:
01506132
Views:
56
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform