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




Contact US

Email:[email protected]

SQL COPY TABLE
10/30