|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
hi,
i just want to update one table. this table contains 3 fields. tableid, name1, name2 let say total records in the table are 100. there r 50 records which contains name1 as NULL. now i want to run an update query which will update all the 50 records and insert name2 in name1 field. plz send me this ASAP if u have futher query then just let me know bye Sur |
|
#2
|
|||
|
|||
|
update t
set name1 = name2 where name1 is null |
|
#3
|
|||
|
|||
|
hi swampBoogie,
thanx sir. it works for me. i thought it might not be so simple query. but it is a very simple query.... thanx once again regards Surender |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Update Query to update the same table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|