We can define the field of Virtual table in SQL Server 2005. There are some requisite when define the field of the virtual table.And this case include inserting the content of the real table to that virtual table, they are:
- The amount of the field in virtual table must same with the selected field on the real table
- The data type of each field in virtual table must same with the real table
This is the example:
Step 1:
Let us create table [Employees_TEST] , insert the content of that table from existing table. [Employees] table as the sample

Step 2:
Create virtual table #Employees_Temp and Insert data to that table from table [Employees_TEST]




