Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 पर्याप्त नहीं मूल्य में त्रुटि
In Oracle database, the following error message may appear when an incorrect SQL statement is used, in SQL Plus or in anywhere that send SQL queries to the databases such as stored procedure or external programs. Oracle डाटाबेस में, निम्न त्रुटि संदेश जब एक गलत SQL बयान किया जाता है प्रकट मई, SQL प्लस में या कहीं भी है कि डेटाबेस को संग्रहित प्रक्रिया या बाह्य प्रोग्राम्स जैसे SQL क्वेरियाँ भेजें.
PL/SQL: SQL Statement ignored PL / SQL: SQL वक्तव्य उपेक्षा
PL/SQL: ORA-00947: not enough values PL / SQL: ORA-00947: काफी नहीं मान
The reason for ORA-00947 error is when a SQL statement requires two sets of value, ie number of number of columns and its value that are specified in the SQL to be equal in number. ORA की वजह-00947 त्रुटि जब एक SQL बयान मूल्य का है कि SQL में संख्या में बराबर होना करने के लिए निर्दिष्ट कर रहे हैं दो सेट कॉलम और इसके मूल्य की संख्या के, अर्थात् नंबर की आवश्यकता है. But the second part of the query which is column values contains fewer items than the first part which is the number of columns. लेकिन जो कॉलम मूल्यों है क्वेरी का दूसरा हिस्सा जो कॉलम की संख्या है, पहले भाग से भी कम आइटम शामिल हैं. The error may happens in all kind of SQL statements – Insert, Update or Select – and it can also occur in a WHERE or HAVING clause in which a nested sub-SELECT returns too few columns. मई SQL बयानों के सभी प्रकार में होता है त्रुटि - डालें, अद्यतन या चुनें - और यह भी एक है जहाँ या Having खंड में हो सकता है जो एक नीडिंत उप चुनें रिटर्न भी कुछ कॉलम में. If the SQL does not specify columns, it means that the values entered are less that the columns existed in the table in database. यदि SQL कॉलम निर्दिष्ट नहीं है, यह है कि मूल्यों में प्रवेश किया है कि कॉलम डेटाबेस में तालिका में ही अस्तित्व में कम कर रहे हैं अभिप्रेत है.
For example, the ORA-00947 error will be returned if you try to execute the following SQL statements: यदि आप निम्न SQL बयान पर अमल करने की कोशिश उदाहरण के लिए, ORA-00947 त्रुटि लौटा दी जाएगी:
INSERT INTO Customers (Customer_ID, Customer_Name, Birthday) VALUES ('1′, 'My Customer'); ('1 ',' मेरा ग्राहक ') (Customer_ID, Customer_Name, जन्मदिन) मूल्यों को ग्राहक घुसाएँ;
or या
SELECT * FROM Customers WHERE (Customer_ID, Customer_Name) IN (SELECT Customer_ID FROM Orders); * ग्राहक कहां (Customer_ID, Customer_Name) में (चुनें Customer_ID से आदेश से) को चुनें;
To solve the error and correct the problem, check that the number of values provided in the column values part is equal that the columns specified, or the number of columns in table, and change the SQL statement to make them equal. इस त्रुटि को हल करने के लिए और इस समस्या को सही, जाँच करें कि मूल्यों कॉलम मूल्यों हिस्से में प्रदान की संख्या कि कॉलम, या तालिका में स्तंभों की संख्या, निर्दिष्ट और उनके बराबर करने के लिए SQL बयान बदल बराबर है.
You can either reduce the number of columns, or increase the number of values provided to the column to make the SQL statement equaled. आप या तो कॉलम की संख्या को कम कर सकते हैं या मूल्यों कॉलम करने के लिए प्रदान की संख्या में वृद्धि की SQL बयान equaled बनाने के लिए. This applies to the nested SQL statements with HAVING or WHERE clause too. यह या जहां भी खंड होने के साथ नीडिंत SQL बयान करने के लिए लागू होता है. For example, the correct SQL statements should be like the following: उदाहरण के लिए, सही SQL बयानों में निम्नलिखित की तरह किया जाना चाहिए:
INSERT INTO Customers (Customer_ID, Customer_Name, Birthday) VALUES ('1′, 'My Customer', '08/08/1988′); (Customer_ID, Customer_Name, जन्मदिन) मूल्यों को ग्राहक घुसाएँ ('1 ',' मेरा ग्राहक ','08 / 08/1988');
or या
INSERT INTO Customers (Customer_ID, Customer_Name) VALUES ('1′, 'My Customer'); ('1 ',' मेरा ग्राहक ') (Customer_ID, Customer_Name) मूल्यों को ग्राहक घुसाएँ;
or या
SELECT * FROM Customers WHERE (Customer_ID, Customer_Name) IN (SELECT Customer_ID, Customer_Name FROM Orders); * ग्राहकों से चुनें, जहां (Customer_ID, Customer_Name) (चुनें Customer_ID, Customer_Name से आदेश में);
or या
SELECT * FROM Customers WHERE (Customer_ID) IN (SELECT Customer_ID FROM Orders); * जहाँ ग्राहक का चुनाव () (चुनें Customer_ID से आदेश) में Customer_ID;
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 संबंधित लेख
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 तालिका देखें या नहीं मौजूद Oracle त्रुटि है
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle गिरा टैबिल त्रुटि
- Easily Duplicate, Copy or Backup Tables in Oracle, PostgreSQL, DB2 and SQLite with Create Table As SQL आसानी से डुप्लिकेट, प्रतिलिपि या जैसा कि टेबल बनाएँ साथ Oracle, PostgreSQL, DB2 और SQLite में संरक्षा टेबल्स SQL
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 बनाएँ या नई विभाजन जोड़ें त्रुटि विफल
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error , या भाजित Oracle डाटाबेस विभाजन जोड़ें बनाएँ ORA साथ विफल-14080 त्रुटि
- Oracle EXP-00091 Error When Export Database Oracle ऍक्स्प-00091 त्रुटि जब निर्यात डाटाबेस
- ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25153 अस्थाई तालिकास्थान Oracle में खाली त्रुटि है
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01658 अनुभाग के लिए तालिकास्थान त्रुटि में प्रारंभिक विस्तार बनाएँ करने में असमर्थ
- Oracle Database Import Error 3113/3114 Oracle डाटाबेस आयात त्रुटि 3113/3114
- IMP-00013 Oracle Import Error छोटा सा भूत-00013 Oracle आयात में त्रुटि









































