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 |
How do I edit a stored procedure in sql server?
you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration
What is difference between global temporary tables and local temporary tables?
What are the different types of columns types constraints in the sql server?
What is intellisense?
How to manipulate data from one table to another table ?
Explain boyce and codd normal form(bcnf)?
Explain cross join or cartesian product in sql?
How to check table values in sql server?
Observed that some SP’s / Jobs are processing late, how to troubleshoot to improve performance?
Why it is recommended to avoid referencing a floating point column in the where clause?
What is single-user mode?