2007 Jul 12 9:56 PM
hi all,
can u tell me hw could i insert a single field in the custom table.
i have abt 6 fields in the custom table.
5 fields are already populated...
i have to insert one field ..i dont want to use insert statement.
thanx in advance
2007 Jul 12 10:11 PM
Use Update statement.
if you use modify ,it works like insert ( if no record exists) and also it works Update.
UPDATE dbtab SET f1 ... fn
Thanks
Seshu
hi all,
can u tell me hw could i insert a single field in the custom table.
i have abt 6 fields in the custom table.
5 fields are already populated...
i have to insert one field ..i dont want to use insert statement.
thanx in advance
2007 Jul 12 10:07 PM
You wont need to insert a single field, as u said 5 fields are already populated and u need to modify the custom table with 6th field
Use Modify statement
Thanks.
regards
vinsee
2007 Jul 12 10:10 PM
HI,
You can use UPDATE statement
UPDATE ztable SET SIXTH_FIELD = 'value'
WHERE key_field = 'asdf'.
Thanks
Naren
2007 Jul 16 5:10 PM
hi.
insert and update r working good for only one record.wht should be the logic if we have mulitple records. im writing insert and update in a loop.do i need to write commit or use append
2007 Jul 12 10:11 PM
Use Update statement.
if you use modify ,it works like insert ( if no record exists) and also it works Update.
UPDATE dbtab SET f1 ... fn
Thanks
Seshu
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |