I want to copy a table\'s schema as well as the data within that table to another database table in another database on a live server. How could I do this?
simply use -
CREATE TABLE DB2.newtablename SELECT * FROM DB1.existingtablename;