In this article, I describe How to copy or insert one table value to another table.This is achieved by a select statement. As here I am select top 10 rows from dbo.Employee table and insert into dbo.Employee_Test Table.
SELECT TOP10 * INTO DBO.EMPLOYEE_TEST FROM DBO.EMPLOYEE
After Execute this query, check dbo.Employee_Test table records using by
SELECT *FROM DBO.EMPLOYEE_TEST
The top 10 records are inserted into dbo.Employee_Test.
Note: dbo.Employee_Test have the same table structure like dbo.Employee
Post your comments / questions
Recent Article
- Fix-Gradient effect turning to gray in after effects
- How to blur an image in python?
- ModuleNotFoundError: No module named 'whois' in Python GoviralHost Without Terminal
- How to Convert Image to Pencil Sketch in Python?
- AttributeError: module 'urllib' has no attribute 'request' - Python
- How to Extract audio from video files using python?
- PermissionError: [Errno 13] Permission denied: 'shampoo_sales.csv' - Python
- [WinError 145] The directory is not empty: 'FolderPath' - Python
Related Article