Hi,
I was wondering if there was a way using SQL statements to copy the database structure of one table into another empty table. I saw a tantalizing CREATE TABLE table_name LIKE old_table_name SQL statement in the mysql manual but it doesn't work on our linux server.
Using CREATE TABLE table_name SELECT * FROM old_table_name does not properly copy the structure of the table either. I was hoping to pull this off with a SQL statement because I have to work through an ADO connection. I will not know the physical location of the database to do file copying operations.
Thank you for any help!
I was wondering if there was a way using SQL statements to copy the database structure of one table into another empty table. I saw a tantalizing CREATE TABLE table_name LIKE old_table_name SQL statement in the mysql manual but it doesn't work on our linux server.
Using CREATE TABLE table_name SELECT * FROM old_table_name does not properly copy the structure of the table either. I was hoping to pull this off with a SQL statement because I have to work through an ADO connection. I will not know the physical location of the database to do file copying operations.
Thank you for any help!