How can I create a table from another table without copying
any values from the old table?

Answer Posted / atul verma

SELECT *
INTO emp1
from scott.emp where rownum=0

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of functions are there in sql?

496


If the application is running very slow? At what points you need to go about the database in order to improve the performance?

559


What is compiled query?

512


What is difference between rank () row_number () and dense_rank () in sql?

570


what is error ora-03113: end-of-file on communication channel?

595






What is sql character function?

537


Is big data nosql?

505


Can a commit statement be executed as part of a trigger?

598


what is unique key constraint? : Sql dba

561


What are aggregate and scalar functions?

519


Why do we use joins in sql?

496


How many disk partitions should I have?

543


What is pl sql record in oracle?

555


Explain what is a subquery ?

648


What are the types of optimization?

513