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

Which one is faster delete/truncate? Why?

1 Answers   Infosys,


What are the different types of replication? How are they used?

3 Answers  


how to insert the values in 5 table at a time Using any single statement ?

6 Answers   Infosys, Value Labs,


How do I view views in sql server?

0 Answers  


What is resultset concur_updatable?

0 Answers  


plz send every query in sql server2000

1 Answers   Infosys,


What are the fixed server level roles? : sql server security

0 Answers  


What is the command used to get the version of sql server?

1 Answers  


Can we call future method from queueable?

0 Answers  


Explain syntax for dropping triggers?

0 Answers  


What is default port number for sql server 2000?

0 Answers  


How to find the service pack installed? : sql server database administration

0 Answers  


Categories