Hi, Is it possible to execute a dynamic sql query in pl/pgsql like the oracle feature for PL/SQL: EXECUTE IMMEDIATE 'UPDATE my_table SET col1=val1 ....'; Thanks. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.