
قراءة بيانات من الإكسل و إدخالها بجدول الأوراكل
تمت كتابته بواسطة
alounartc
, June 13 2005 07:07 AM
11 رد (ردود) على هذا الموضوع
#9
تاريخ المشاركة 06 January 2010 - 09:32 PM
الأخوة الأعزاء
بعد تنفيذ البرنامج ظهر الخطا دة
مع معناه وكيف يمكنني حله
mmgpgco@hotmail.com
بعد تنفيذ البرنامج ظهر الخطا دة
مع معناه وكيف يمكنني حله
mmgpgco@hotmail.com
SQL> DECLARE 2 3 oo varchar(50); 4 appid pls_integer; 5 convid pls_integer; 6 nm number := 1; 7 rowcol varchar(20); 8 BEGIN 9 appid := dde.app_begin('C:\Program Files\Microsoft Office\Office\excel c:\abc.xls', 10 dde.app_mode_minimized); 11 12 convid := dde.initiate('EXCEL', 'c:\abc.xls'); 13 ---------------------------------------------------------------------- 14 loop 15 rowcol := 'R' || nm || 'C1'; 16 dde.Request(convid, rowcol, oo, dde.cf_text, 99999); 17 if length(oo) < 3 then 18 exit; 19 end if; 20 insert into ww values (oo); 21 nm := nm + 1; 22 end loop; 23 commit; 24 end; 25 / appid := dde.app_begin('C:\Program Files\Microsoft Office\Office\excel c:\abc.xls', * ERROR at line 9: ORA-06550: line 9, column 12: PLS-00201: identifier 'DDE.APP_BEGIN' must be declared ORA-06550: line 9, column 3: PL/SQL: Statement ignored ORA-06550: line 12, column 13: PLS-00201: identifier 'DDE.INITIATE' must be declared ORA-06550: line 12, column 3: PL/SQL: Statement ignored ORA-06550: line 16, column 37: PLS-00201: identifier 'DDE.CF_TEXT' must be declared ORA-06550: line 16, column 5: PL/SQL: Statement ignored |
#11
تاريخ المشاركة 09 May 2014 - 07:26 PM
i used to do that in 2 steps
1. export the excel sheet into access as table
2. import the access table into oracle using odbc if you interest in this tell me and i will give you the steps
السلام عليكم اخي
انا اريد هذه الطريقة لإدخال بيانات من اكسل وانا استخدم
Windows 8
oracle db 11
تم التعديل بواسطة pro_shad, 09 May 2014 - 07:27 PM.