how insert selected column only ?
Answers were Sorted based on User's Feedback
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 |
Answer / srinivas
insert into <table_name> ( <col1> ,<col3>) values ( val1,val2)
Is This Answer Correct ? | 1 Yes | 0 No |
What is a Join and explain its types?
How will you decide the active and passive nodes?
Diffrence between DTS vs SSIS
What is history table in sql server?
How will you optimize a stored procedure optimization?
What is t-sql script to take database offline – take database online.
How to list all dsn entries on your local machine using odbc_data_source()?
how can you select rexcord(rows) from table A which is not present in Table B . Id being the FK in Table B referencing to ID Table A
What is default port number for sql server 2000?
what is syntex second or third highest salary. thanks & Regards Dhirendra sinha
What is raiseerror? What is raiseerror?
Can we add our custom code in ssis?