Pages

Thursday, August 4, 2011

How to Create duplicate table in sql server 2005,2008

Views
The "SELECT INTO" technique will create a table with the same columns but doesn't reproduce the keys, constraints, and defaults.


This query is used to create a dupliate table with same columns and data

Code:


select * into newtable from oldtable

0 comments:

Post a Comment

 

Web Design Company karimnagar, Web Designing warangal, Logo Design Company nizamabad, Indian Website Design Company, maddysoft.co.in