Search
Submit a request
Sign in
How can we help you today?
Categories
Submit a request
Submit a request
Sign in
Support
Community
SQL Compare Previous Versions
Table Compare
New post
Is there a way to do a table compare/synch within the same database? I have a table with a lengthy structure that I would like to synch to another table. Ideas? I could generate an update script etc, but I thought this would be easier...
TIA,
MilesGibson
February 09, 2009 09:36
-
0
+
Comments
1 comment
Sort by
Date
Votes
Miles,
my instant action on this would be to run:
SELECT * INTO <table2> from <table1> where 1=2
to my knowledge (and experience) this creates an identical, empty table in the same database.
If you have SQL Prompt then you could create a snippet for it ...
fatherjack2
February 09, 2009 10:15
-
0
+
Add comment
Please
sign in
to leave a comment.
TIA,