hi
i have one table and in this 30 column and empid
now i want to add these column data
how i do
i dont get any idea
plz give me code n idea to add every column on the basis of empid
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suthish NairPosted Dec 22, 2010, 4:49 AM
Still we are not able to understand your posted query.
Please explain the problem in detailed you facing and what the query is all about.
So we can help you. If your looking for copying data from table1 to table2, then like this..
insert into table1select * from table2Dharmesh SharmaPosted Dec 21, 2010, 1:03 AM
SELECT (col1+col2+col3......................)
but i need some other idea like to add by trigger and more
Dharmesh SharmaPosted Dec 21, 2010, 12:57 AM
i wana add data of column of one table and insert data to in this table to another column
Santhosh NPosted Dec 20, 2010, 9:31 PM
INSERT INTO targetTable(col1, col2, col3,...)SELECT
col1, col2, col3,...FROM sourceTable
WHERE conditionIfRequired