Στις Tuesday 15 January 2008 23:03:49 ο/η Franklin Haut έγραψε:
> Hi all,
> 
> i have a problem with one update sentence sql.
> 

A simple way i use:

foodb=# update temp set num = num*1000  where num >= 5;
foodb=# insert into temp values (5, 'NOT');
foodb=# update temp set num = 1 + num/1000  where num >= 6;

-- 
Achilleas Mantzios

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to