Need to copy data from one table to another with in seconds ? Here is a tip


SELECT INTO command helps you to do this :

SELECT  * INTO Test_Data
from HumanResources.Employee

Test_Data will be a  new permanent table and data from Employee will be transferred as it is.

You can also create Local and Global TEMP Tables too with this clause.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s