in the pgadmin editi want usedeclare ...if exists ...insert something if @@rowcout>0 then do somethingif ....like in mssql and not use functionhow tosorry for my english