vishan_rana
New Member
- Joined
- Feb 22, 2012
- Messages
- 20
Dear All,
I want to update <0 data as 0 in many column at once mean in 1 query
Data is like
<table bgcolor="#ffffff" border="1" cellspacing="0"><caption></caption> <thead> <tr> <th bgcolor="#c0c0c0">DECR_01_Mar</th> <th bgcolor="#c0c0c0">DECR_02_Mar</th> <th bgcolor="#c0c0c0">DECR_03_Mar</th> <th bgcolor="#c0c0c0">DECR_04_Mar</th> </tr> </thead> <tbody> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">-2
</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">-15
</td> <td align="RIGHT"></td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">
</td> <td align="RIGHT">
</td> <td align="RIGHT">
</td> <td align="RIGHT">
</td> </tr> <tr valign="TOP"> <td align="RIGHT">
</td> <td align="RIGHT">
</td> <td align="RIGHT">
</td> <td align="RIGHT">
</td> </tr> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">-100</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">-5
</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">-1</td> </tr> </tbody> <tfoot></tfoot> </table>
Pls help in this
I want to update <0 data as 0 in many column at once mean in 1 query
Data is like
<table bgcolor="#ffffff" border="1" cellspacing="0"><caption></caption> <thead> <tr> <th bgcolor="#c0c0c0">DECR_01_Mar</th> <th bgcolor="#c0c0c0">DECR_02_Mar</th> <th bgcolor="#c0c0c0">DECR_03_Mar</th> <th bgcolor="#c0c0c0">DECR_04_Mar</th> </tr> </thead> <tbody> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">-2
</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">-15
</td> <td align="RIGHT"></td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">
</td> <td align="RIGHT">
</td> <td align="RIGHT">
</td> <td align="RIGHT">
</td> </tr> <tr valign="TOP"> <td align="RIGHT">
</td> <td align="RIGHT">
</td> <td align="RIGHT">
</td> <td align="RIGHT">
</td> </tr> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">-100</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> </tr> <tr valign="TOP"> <td align="RIGHT">-5
</td> <td align="RIGHT">0</td> <td align="RIGHT">0</td> <td align="RIGHT">-1</td> </tr> </tbody> <tfoot></tfoot> </table>
Pls help in this