Javatpoint Logo

91-9990449935

 0120-4256464

Javatpoint Logo

SQL COPY TABLE

If you want to copy a SQL table into another table in the same SQL server database, it is possible by using the select statement.

The syntax of copying table from one to another is given below:

For example, you can write following command to copy the records of hr_employee table into employee table.

Note: SELECT INTO is totally different from INSERT INTO statement.

Next TopicSQL TEMP TABLE




Latest 4 Tutorials on JavaTpoint