If I have a table like:
CREATE TABLE FRED
(
recordId number(18) primary key,
firstName varchar2(50)
);
Is there an easy way to clone its structure (not data) into another table with the given name. Basically I want to create a table with exactly the same structure, but a different name so that I can perform some functions on it. I want to do this in code explicitly. Java is preferred, but most other languages should be similar.
source
share