UPDATE [ ONLY ] table [ [ AS ] alias ]
SET { column = { expression | DEFAULT } |
( column [, ...] ) = ( { expression | DEFAULT } [, ...] ) } [, ...]
[ FROM fromlist ]
[ WHERE condition ]
[ RETURNING * | output_expression [ AS output_name ] [, ...] ]
update only loc_t l set l.id=123456
from finst_t f, store_t s
where f.store_id=s.id and s.loc_id=l.id and l.id=201327 and file_vgroup ilike 'sarp%'
Main Topics
Browse All Topics





by: gheistPosted on 2007-06-06 at 01:52:30ID: 19223518
Your query is not SQL standards-conformant. You have to specify table name for join-s.