How hard could that be?
MS SQL in Action
First, I needed to do a complete DDL on TableOne and replace every instance of the word "TableOne" with "TableTwo". It works, even though it is bulky and takes time, especially when the DDL was 68 lines long.
The second step was not too bad.
SELECT * FROM TableOne INTO TableTwoOk - that did not seem too hard, until you see how this can be accomplished in MySql.
GO
MySql's Turn
CREATE TABLE table_1 LIKE table_2;Which looks easier to you?
INSERT INTO table_1 SELECT * FROM table_2;
Here's another wrinkle: what about table-level permissions? Which side is easier to manage?
Until next time,
David
1 comment:
David, this is keith from the MUG meeting last night. I just pulled out the card to get your email address and it was smudged beyond recognition. You have my email .. send me one :)
Post a Comment