بتاريخ: 9 مايو 20169 سنة comment_274463 create or replace procedure credit.crttemp (fac in motz.std_faculties.faculty_code % type) is begin EXECUTE IMMEDIATE 'create global temporary table ' || 'user_info' ||'on commit preserve rows'||'as select ACA_USERS.doc_code , f_a.doctors.doc_name, ACA_USERS.user_name from credit.ACA_USERS , f_a.doctors'||' where ACA_USERS.FACULTY_CODE='||f_a.doctors.COLLEGE_WORK||' and ACA_USERS.doc_code='||f_a.doctors.doc_code||' and ACA_USERS.FACULTY_CODE='||FAC||' order by f_a.doctors.doc_name asc' ; end; كنت عايز اعرف تصحيح الكود ده ايه و شكرااا dynamic sqlو لو فى حد عنده امثله لنفس الفكره او لل تم تعديل 9 مايو 20169 سنة بواسطة memosamy تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.