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 the syntax for encrypting a column in SQL Server?

0 Answers   MindCracker,


What are the parts of a function?

0 Answers  


What is history table in sql server?

0 Answers  


How ssrs maintain security?

0 Answers  


What is raiseerror? What is raiseerror?

0 Answers  


What causes index fragmentation?

0 Answers  


How do indexes help, types?

0 Answers  


How to Insert multiple rows with a single insert statement?

0 Answers  


What is public role in sql server?

0 Answers  


Explain user defined views?

0 Answers  


What is sparse columns of sql server 2008?

0 Answers  


What are dml triggers and types of dml triggers?

0 Answers  


Categories