Answer: By using UNIVERSAL FASLE condition like 1=2,A=B....etc.
This is the only method for copying the structure of the table without copying the data.
Example:
create table NEWTable AS select * from OLDTABLE where 1=2
Asked In: Many Interviews |
Alert Moderator