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:
- Select * into <destination table> from <source table>
For example, you can write following command to copy the records of hr_employee table into employee table.
- Select * into admin_employee from hr_employee;