بتاريخ: 3 أغسطس 200619 سنة comment_75705 I want to create a pl/sql procedure that perform summary function on som feild in the database then add to a variable something like select sum(salary) into sal from employees where emp_no = :empno; sal := sal +var; salary is database fieldsal , var are variablesthe problem is when the salary field doesnt contain dataso if there any way to check if the select statement doesn't return any result and replace its value with 0 like nvl functionthanx تم تعديل 3 أغسطس 200619 سنة بواسطة ahmedmax تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.