oracle8.1.6 select ec_gift_certificate_balance(:user_id) from dual select ec_order_gift_cert_amount(:order_id) from dual