Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how can ur insert the emp table

Answer Posted / madhav

BY USING 'ON THE FLY TABLES'
CREAT TABLE EMPLOYEE AS SELECT * FROM EMP WHERE 1=2;
(FOR TABLE STRUCTURE)
-----TO INSERT THE EMP TABLE VALUES-------
INSERT INTO EMPLOYEE(SELECT * FROM EMP);
(INSERT THE EMP TABLE DATA)
SELECT * FROM EMPLOYEE;

-----------ALL THE BEST-------------

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different replication agents and what's their purpose? : sql server replication

1054


What are the different Authentication modes in SQL Server and how can you change authentication mode?

1127


How to filter records of table in SQL SERVER?

1132


What are orphan records?

986


What is ms sql server triggers?

1070


What does select 1 mean?

977


How do I create a stored procedure in dbml?

1079


What is the difference between seek predicate and predicate?

1108


How adventureworkslt tables are related?

984


What is 2nf normalization form?

1202


if no size is defined while creating the database, what size will the database have? : Sql server administration

1059


What is change data capture (cdc) in sql server 2008?

1080


Why use “in” clause in sql server?

1124


How do you set a trace flag in sql server?

1094


What are the restrictions that views have to follow? : SQL Server Architecture

1058