hi
i am having a situation where i have to update a whole column and set one value true and rest false For example If the table have two columns Name and Status respectively...
Name Status
aTrue
bFalse
cFalse
and if status of b is set to true now then all other status should be false
aFalse
bTrue
cFalse
is this possible with only runnign one query or i have to run two query one for updating all to False and then second to update a particular record to True
any suggestions....
Thanks in advance
i am having a situation where i have to update a whole column and set one value true and rest false For example If the table have two columns Name and Status respectively...
Name Status
aTrue
bFalse
cFalse
and if status of b is set to true now then all other status should be false
aFalse
bTrue
cFalse
is this possible with only runnign one query or i have to run two query one for updating all to False and then second to update a particular record to True
any suggestions....
Thanks in advance
Comment