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

What is a table called, if it has neither cluster nor non-cluster index? What is it used for?

0 Answers  


How to use old values to define new values in update statements in ms sql server?

0 Answers  


How to set a database state to offline in ms sql server?

0 Answers  


How to get a list of all tables with "sys.tables" view in ms sql server?

0 Answers  


Difference between Triggers and Stored Procedure

23 Answers   Claimat, HCL, Protech, Silgate,


What are the properties of sub-query?

0 Answers  


What do I need to start working with sql studio? : sql server management studio

0 Answers  


How to filter records of table in SQL SERVER?

0 Answers   Petranics Solutions,


Can we return Data from 4(more than 1) tables in stored procedure?

0 Answers   HCL,


Explain external key management in sql server 2008

0 Answers  


What stored by the msdb? : sql server database administration

0 Answers  


How many types of schemas are there?

0 Answers  


Categories