Rajesh Karunakaran
Programmer
Hi friends,
I have a table with some records. I have a cursor with the new values for the records for the table. I want to update the table with new values for the matching values of the key column. If I use the UPDATE command, I have to write SET <fld> = <value> for each and every column. Is there a syntax (I couldn't find it yet though) of UPDATE command for this, ie eliminating the SET portion as I want all columns to be updated? As far as I know, the INSERT command will work like this without mentioning which columns to be updated while inserting the record, but not the UPDATE command. Any idea/thoughts?
Thanks in advance
Rajesh
I have a table with some records. I have a cursor with the new values for the records for the table. I want to update the table with new values for the matching values of the key column. If I use the UPDATE command, I have to write SET <fld> = <value> for each and every column. Is there a syntax (I couldn't find it yet though) of UPDATE command for this, ie eliminating the SET portion as I want all columns to be updated? As far as I know, the INSERT command will work like this without mentioning which columns to be updated while inserting the record, but not the UPDATE command. Any idea/thoughts?
Thanks in advance
Rajesh