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...


hw you create table in sql using existing table and variable
should be in specific order given ex : in old table empid
empname empsal empage empbirthdate empaddrs like is there in
new table we need it as EX: exmpname empage empaddrs empid
empbirthdate like we want hw we create this as a table not
view or nt reporting

Answers were Sorted based on User's Feedback



hw you create table in sql using existing table and variable should be in specific order given ex :..

Answer / raj sekhar

select empname,empage,empaddrs,empid,empbirthdate into
newemptable from oldemptable

Is This Answer Correct ?    4 Yes 1 No

hw you create table in sql using existing table and variable should be in specific order given ex :..

Answer / abhinay

select * into table_name from destination_table_name where 1=0

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL Server Interview Questions

select the 3rd maximum salary from sql server database if 4 (just an example In practically I may not know the exact situation) of the highest salaries are equal.

8 Answers   TCS,


Repair mdf file

2 Answers  


What are difference between Cluster index and Non-Cluster index?

0 Answers   QuestPond,


What's the maximum size of a row?

4 Answers   IBM,


What is the difference between a function and a trigger?

0 Answers  


Which data type columns are the best candidates for full-text indexing?

0 Answers  


What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?

0 Answers  


What is the use of stored procedure?

0 Answers  


What is the correct order of the logical query processing phases?

0 Answers  


What is scheduled job and how to create it?

0 Answers  


Explain the difference between primary keys and foreign keys?

0 Answers  


Do you know query execution plan?

0 Answers  


Categories