Delete, Remove or Drop Oracle Stored Packages with Drop Package حذف أو إزالة أو انخفاض أوراكل تخزين مجموعات مع انخفاض حزمة
Oracle Package is an object in Oracle database that allows developers and designers to group procedures and functions into common groups, typically based upon their functionality. حزمة أوراكل هو جسم في قاعدة بيانات أوراكل التي تتيح لمطوري ومصممي مجموعة اجراءات ومهام مشتركة الى الجماعات ، وعادة ما تستند إلى وظائفها. Package can be treated as the container for functions and procedures. صفقة يمكن أن تعامل على أنها حاوية للمهام وإجراءات. A package consists of two sections which is the package specification (export script file will be in .pks extension) which must be declared first and contains a definition of any objects that can be referenced from outside of the package. مجموعة تتألف من فرعين وهو حزمة المواصفات (تصدير ملف البرنامج النصي سيكون في. pks تمديد) التي لا بد من اعلانها الاولى ويتضمن تعريفا للأي الأشياء التي يمكن المشار إليها من الخارج للمجموعة. The other section is a package body (export SQL script file will be in .pkb extension) that contains the implementation of the objects or stored procedures within the package. القسم الآخر هو مجموعة هيئة (مزود تصدير ملف البرنامج النصي سيكون في. pkb التمديد) ان يتضمن تنفيذ الأشياء أو الإجراءات المخزنة داخل الطرد. With package, a procedure can be hidden inside the package by not declaring them in the package specification. مع حزمة ، وهو إجراء يمكن أن تكون مخبأة داخل حزمة من قبل لا يعلن لهم في حزمة المواصفات.
At same time you may no longer need a package, and wish to remove, delete, or drop the package from the Oracle database. وفي الوقت نفسه كنت قد لم تعد في حاجة الى حزمة ، وترغب في إزالة ، حذف ، أو إسقاط مجموعة من قاعدة البيانات أوراكل. To do so, simply use the DROP PACKAGE SQL command statement from SQL*Plus or Toad or other database too to drop a stored package. لذلك ، ببساطة استخدام عبوات من انخفاض بيان صادر عن قيادة مزود مزود * زائد أو العلجوم أو غيرها من قاعدة البيانات أيضا إلى انخفاض تخزين مجموعة أ.
Syntax of the Drop Package تركيب باقة من الهبوط
DROP PACKAGE [BODY] [schema.]package_name; إسقاط حزمة [الهيئة] [مخطط]. package_name ؛
The optional BODY parameter is specified when you want to drop only the body of the package. الهيئة الاختيارية هو محدد عند معلمة تريد التخلي عن جثة فقط من مجموعة. If this option is omitted, Oracle drops both the body and specification of the package. وإذا كان هذا الخيار هو حذف ، أوراكل قطرات كل من هيئة المواصفات وللمجموعة. If the package to drop is in your own schema, then there is no need to specify the scheme containing the package too, else you will need to put in the appropriate schema name. وإذا كان لالحزمة الانخفاض في مخطط الخاصة بك ، ثم ليست هناك حاجة لتحديد خطة تتضمن حزمة جدا ، آخر ستحتاج إلى وضع مخطط اسم المناسبة. Beside, you must have the DROP ANY PROCEDURE system privilege too. بجانب ، يجب أن يكون لديك أي إجراء إسقاط نظام الامتياز جدا.
Note: Do not use this statement to remove a single object from a package. ملاحظة : لا تستخدم هذا البيان لإزالة واحد من وجوه من مجموعة. Instead, re-create the package without the object using the CREATE PACKAGE and CREATE PACKAGE BODY SQL statements, or by using the SQL command with the OR REPLACE clause. وبدلا من ذلك ، إعادة تهيئة مجموعة دون وجوه باستخدام عبوات تكوين وخلق عبوات من الهيئة مزود بيانات ، أو عن طريق استخدام مزود مع القيادة أو الاستعاضة عن شرط.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. هام : هذه هي آلة الصفحة المترجمة التي تقدم "كما هي" دون ضمان. Machine translation may be difficult to understand. الترجمة الآلية قد يكون من الصعب فهم. Please refer to يرجى الرجوع إلى original English article المادة الانكليزية الأصلية whenever possible. كلما كان ذلك ممكنا.
Share and contribute or get technical support and help at وحصة المساهمة أو الحصول على الدعم التقني والمساعدة في My Digital Life Forums بلادي الرقمي الحياة المنتديات .
Related Articles المواد ذات الصلة
- How to Remove and Drop Datafiles from Tablespace in Oracle Database كيفية إزالة ملفات البيانات وقطرة من Tablespace في قاعدة بيانات أوراكل
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile انخفاض Tablespace كيفية استعادة قاعدة بيانات أوراكل وعندما قصد حذف Datafile
- ORA-02449 Oracle Drop Table Error أورا - 02449 أوراكل إسقاط الجدول خطأ
- How to Delete Existing WordPress Post Revisions Stored/Saved كيفية حذف القائمة بعد التنقيحات ووردبرس] تخزين / إنقاذ
- ORA-00942 Table or View Does Not Exist Oracle Error أورا - 00942 الجدول أو رأي لا وجود خطأ أوراكل
- Oracle Database Link ربط قاعدة بيانات أوراكل
- Change Oracle Database User Password تغيير قاعدة البيانات أوراكل المستخدم كلمة السر
- How to Rename or Move Oracle Tablespace Datafile to Another Location كيفية إعادة تسمية أو نقل أوراكل Tablespace Datafile إلى مكان آخر
- Workaround to Manually Uninstall, Remove or Delete Firefox Addon With Add-Ons Uninstall Button Disabled لإيجاد حل يدويا إلغاء تثبيت أو إزالة أو حذف فايرفوكس الملحق مع إضافات على زر إلغاء تثبيت المعوقين
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error خلق ، وإضافة أو سبليت قاعدة البيانات أوراكل التقسيم فشل مع خطأ ORA - 14080
































