<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>update table_name</DIV>
<DIV>set column_name= 100;<BR><BR>--- On <B>Fri, 3/27/09, Zia Ahmed <I><zua3@cornell.edu></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Zia Ahmed <zua3@cornell.edu><BR>Subject: [postgis-users] Help: NULL to value<BR>To: postgis-users@postgis.refractions.net<BR>Date: Friday, March 27, 2009, 1:15 AM<BR><BR>
<DIV class=plainMail>Hi All,<BR><BR>I have  a table where a column (type- numeric)  contains  several<BR>thousands NULL-values. I want to covert all of these NULL values to<BR>"100" and values  those are greater than "100",  I want to convert<BR>these values to 100 too. How do  I do this? It will be appreciated if<BR>someone help me out  to write the query.<BR><BR>Zia<BR>_______________________________________________<BR>postgis-users mailing list<BR><A href="http://us.mc01g.mail.yahoo.com/mc/compose?to=postgis-users@postgis.refractions.net" ymailto="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</A><BR><A href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target=_blank>http://postgis.refractions.net/mailman/listinfo/postgis-users</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>