
Originally Posted by
ParkinT
All SQL statements [should] end with a semicolon.
So, if you begin at the CREATE TABLE statement and follow all the parameters (which are separated by commas) to the end (most likely a semicolon), that is the text you want to PRESERVE. I recommend you copy and paste that into another text file. Yes, you can open a simple text file and paste that in.
Then do the same with any INSERT statements that mention that same table.
Once you have completed these steps, simply save the text file and rename it to a .sql extension. This is really not even necessary but will simplify the operation in your mind.
IMPORT that new .sql file into MySQL and you have just SAVED THE DAY.
Grab a coffee and go home.
Bookmarks