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 insert selected column only ?

Answers were Sorted based on User's Feedback



how insert selected column only ?..

Answer / manoj

insert into <table_name> (<col1>,<col3>)
values(<val1, val3)

Is This Answer Correct ?    11 Yes 0 No

how insert selected column only ?..

Answer / rajkumar

Format
------
Inser into <tablename> (column name) select (column name)
from <tablename> where <Condition>

Example
--------
INSERT INTO emp (empname) SELECT empname from employe WHERE
empid=5

Is This Answer Correct ?    6 Yes 1 No

how insert selected column only ?..

Answer / srinivas

insert into <table_name> ( <col1> ,<col3>) values ( val1,val2)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL Server Interview Questions

two tables with table name ship(name,year) and battle (name,year),how to find the latest added year in the table ship

1 Answers  


Explain hostprotectionattribute in sql server 2005?

0 Answers  


What is bcp? When does it use?

0 Answers  


How can we improve performance by using SQL Server profiler?

0 Answers   QuestPond,


Define model database?

0 Answers  


How to verify a user name with sqlcmd tool?

0 Answers  


How will you hide an attribute? : sql server analysis services, ssas

0 Answers  


How to return the second 5 rows in ms sql server?

0 Answers  


Does partitioning ssd reduce performance?

0 Answers  


Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many

0 Answers  


What are the types of model in sql server and explain

2 Answers   TCS,


how can you attach more than 20 ldf files in sql server

0 Answers   IBM,


Categories