postgresql7.1 select sg_namespace__get_id(:service) from dual select sg_namespace__get_id(:service) from dual select method_id || ' ' || proc from sg_methods where namespace_id = :namespace_id and lower(method) = lower(:method) select * from sg_invoke_moniker