بتاريخ: 24 مايو 200917 سنة comment_157926 /*DECLARE f varchar(400); cursor s is select a.employee_code,b.dates,b.transaction_id from employee a,attendance b where a.employee_id=b.employee_id; c number(7); a date; t varchar(12); z varchar(2); File UTL_FILE.FILE_TYPE; b varchar(2); begin File:= UTL_FILE.FOPEN('MY_DIR','a.txt','W'); open s; loop fetch s into c,a,b; exit when s%notfound; if c<10 then t:='00000000000'; end if; if (c>=10 and c<100) then t:='0000000000'; end if; if c>=100 then t:='000000000'; end if; if to_char(sysdate,'hh24')>12 then z:='ã'; else z:='Õ'; end if; f:=t||c||','||b||','||to_char(sysdate,'dd/mm/YYYY')||' '||to_char(a,'hh:mi:ss')||' '||z; UTL_FILE.PUT_LINE(File,f); end loop; UTL_FILE.FCLOSE(File); END;*/ انا بكتب الكود دة فى buttonبيحصل انشاء للملف لكن مش بيتكتب بداخلة اى حاجةحد عندة فكرة لية تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.