1) Create a table with the same name _tem (example: Table1_tmp) with the correct structure
2) Load data from Table1 into Table1_tmp using INSERT INTO ... SELECT FROM
3) Drop Table1
4) Re-create Table1, using CREATE TABLE Table1 AS (SELECT * FROM Table1_tmp)
5) Drop Table1_tmp
2) Load data from Table1 into Table1_tmp using INSERT INTO ... SELECT FROM
3) Drop Table1
4) Re-create Table1, using CREATE TABLE Table1 AS (SELECT * FROM Table1_tmp)
5) Drop Table1_tmp
No comments:
Post a Comment