الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Create External Table

Featured Replies

بتاريخ:

انشات ملف اكسل مرفق لكم 

قمت بالخطوات الاتيه  لكتابة كود external  table 

 

 

  1    CREATE TABLE mam
  2    (EMPNO NUMBER ,
  3    ENAME VARCHAR2(50),
  4    JOB VARCHAR2(20)
  5    )
  6    ORGaNIZATION EXTERNAL
  7    (TYPE ORACLE_LOADER
  8    DEFAULT DIRECTORY EMP_DIR
  9    ACCESS PARAMETERS
 10    (
 11    RECORDS  DELIMiTED BY NEWLINE
 12    BADFILE 'emp.bad'
 13    logfile 'emp.log'
 14    fields terminated by ',')
 15    location('h.csv')
 16*  )reject limit unlimited
SQL> /
 
Table created.
 
ثم وجدت الجدول فارغ هل لي ان اعرف المشكله  لماذا ؟ 
ماكتب في اللوج كالاتي 
 
 
 LOG file opened at 03/12/15 18:57:51
 
KUP-05004:   Warning: Intra source concurrency disabled because parallel select was not requested.
 
Field Definitions for table MAM
  Record format DELIMITED BY NEWLINE
  Data in file has same endianness as the platform
  Rows with all null fields are accepted
 
  Fields in Data Source: 
 
    EMPNO                           CHAR (255)
      Terminated by ","
      Trim whitespace same as SQL Loader
    ENAME                           CHAR (255)
      Terminated by ","
      Trim whitespace same as SQL Loader
    JOB                             CHAR (255)
      Terminated by ","
      Trim whitespace same as SQL Loader
KUP-04021: field formatting error for field EMPNO
KUP-04026: field too long for datatype
KUP-04101: record 1 rejected in file C:\emp\h.csv
 
بتاريخ:

تاكد من عدم وجود رقم موظف طول الحقل اكبر من 255

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.