CREATE TABLE bob.tableX AS SELECT * FROM tom.tableX;The above will create a table owned by BOB as a duplicate of the table that is currently owned by TOM. If you only want the structure and no rows of data, use the following:
CREATE TABLE bob.tableX AS SELECT * FROM tom.tableX WHERE 0=1;
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.