Delete, Remove or Drop Oracle Stored Packages with Drop Package हटाने के लिए, निकालें या छोड़ Oracle छोड़ पैकेज के साथ संग्रहित संकुल
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. Oracle Oracle डेटाबेस पैकेज कि डेवलपर्स और समूह प्रक्रियाओं और कार्यों के लिए डिजाइनरों आम समूहों में, आमतौर पर उनकी कार्यक्षमता पर आधारित की अनुमति देता में एक वस्तु है. 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. एक पैकेज दो वर्गों के होते हैं जो पैकेज विनिर्देशन (निर्यात स्क्रिप्ट फ़ाइल में होगा. पीकेएस विस्तार), जो पहले घोषित किया जाना चाहिए और किसी भी वस्तु है कि पैकेज के बाहर से संदर्भित किया जा सकता है की एक परिभाषा शामिल हैं. 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. दूसरे खंड एक पैकेज शरीर है (SQL स्क्रिप्ट फ़ाइल निर्यात. 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. इसी समय तुम अब एक पैकेज की ज़रूरत है, हो सकता है और इच्छा को हटाने, नष्ट करें, या Oracle डाटाबेस से संकुल ड्रॉप. 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; छोड़ पैकेज [BODY] [स्कीमा.] Package_name;
The optional BODY parameter is specified when you want to drop only the body of the package. वैकल्पिक BODY पैरामीटर निर्दिष्ट किया जाता है जब आप के लिए पैकेज की केवल शरीर ड्रॉप करना चाहता हूँ. If this option is omitted, Oracle drops both the body and specification of the package. अगर इस विकल्प का लोप कर दिया है, Oracle दोनों के शरीर और पैकेज के विनिर्देशन बूँदें. 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. इसके बजाय, फिर से पैदा पैकेज बनाने और पैकेज BODY एसक्यूएल बयानों, या या REPLACE खंड के साथ एसक्यूएल आदेश का उपयोग करके प्रयोग वस्तु के बिना पैकेज बनाएँ.
IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: पृष्ठ की मशीन है और अनुवाद प्रदान "के रूप में वारंटी के बिना है." Machine translation may be difficult to understand. मशीन अनुवाद मुश्किल से समझ सकते हो. Please refer to कृपया उल्लेख करने original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव है.
Related Articles संबंधित लेख
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile कैसे गिरा तालिकास्थान और पुनर्प्राप्त Oracle डाटाबेस जब गलती से नष्ट Datafile
- How to Remove and Drop Datafiles from Tablespace in Oracle Database तालिकास्थान से Oracle डाटाबेस में निकालें और गिरा Datafiles कैसे
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle ड्रॉप तालिका में त्रुटि
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 तालिका देखें या मौजूद नहीं है Oracle त्रुटि क्या
- How to Delete Existing WordPress Post Revisions Stored/Saved कैसे WordPress पोस्ट संशोधन संग्रहित मौजूदा हटाएँ / सहेजा गया
- Oracle Database Import Error 3113/3114 Oracle डाटाबेस के आयात त्रुटि 3113/3114
- Oracle EXP-00091 Error When Export Database Oracle EXP-00091 त्रुटि जब निर्यात डाटाबेस
- Oracle Database Link Oracle डाटाबेस के लिंक
- Check Oracle Version जांच Oracle संस्करणः
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error बनाने के लिए, जोड़ें या भाजित Oracle डाटाबेस के विभाजन के साथ विफल रहता है ORA-14,080 त्रुटि









































