Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL-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: אורה-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. הסיבה אורה-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 תוחודל - הוספה, עדכון או בחר - וזה יכול לקרות גם בבית או איפה נתקל בו סעיף המשנה מקוננות בחירה מחזירה מעט מדי עמודות. 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: כך, למשל, אורה-00947 שגיאה יוחזרו אם אתה מנסה להפעיל את הצהרות SQL הבאה:

INSERT INTO Customers (Customer_ID, Customer_Name, Birthday) VALUES ('1′, 'My Customer'); INSERT INTO לקוחות (Customer_ID, Customer_Name, יום הולדת) Values ('1 ',' הלקוח שלי ');

or או

SELECT * FROM Customers WHERE (Customer_ID, Customer_Name) IN (SELECT Customer_ID FROM Orders); * בחר מלקוחות איפה (Customer_ID, Customer_Name) ב (בחר Customer_ID FROM הזמנות);

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′); INSERT INTO לקוחות (Customer_ID, Customer_Name, יום הולדת) Values ('1 ',' הלקוחות שלי ','08 / 08/1988');

or או

INSERT INTO Customers (Customer_ID, Customer_Name) VALUES ('1′, 'My Customer'); INSERT INTO לקוחות (Customer_ID, Customer_Name) Values ('1 ',' הלקוח שלי ');

or או

SELECT * FROM Customers WHERE (Customer_ID, Customer_Name) IN (SELECT Customer_ID, Customer_Name FROM Orders); * בחר מלקוחות איפה (Customer_ID, Customer_Name) ב (בחר Customer_ID, FROM Customer_Name הזמנות);

or או

SELECT * FROM Customers WHERE (Customer_ID) IN (SELECT Customer_ID FROM Orders); * בחר מלקוחות איפה (Customer_ID) ב (בחר Customer_ID FROM הזמנות);

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. ככל שניתן.


Leave a Reply השאירו תגובה

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> אתה יכול להשתמש בקבצי תגיות: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <דל datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. הצטרף כמנוי ל הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה על תגובות העדכנית פורסם, כדי להירשם My Digital Life Comments RSS feed החיים שלי דיגיטלי תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

New Articles מאמרים חדשים

Incoming Search Terms for the Article חיפוש נכנס על תנאי סעיף

PL/SQL: ORA-00947: not enough values PL / SQL: אורה-00947: לא מספיק ערכי - -- ORA-00947: not enough values אורה-00947: לא מספיק ערכי - -- oracle not enough values Oracle לא מספיק ערכי - -- ORA-00947 אורה-00947 - -- not enough values לא מספיק ערכי - -- ora-00947 not enough values אורה-00947 לא מספיק ערכי - -- PL/SQL: ORA-00947 PL / SQL: אורה-00947 - -- not enough values oracle לא מספיק ערכים Oracle - -- PLS-00947 PLS-00947 - -- ORA 947 אורה 947 - -- pl sql ora-00947 not enough values PL-SQL אורה 00,947 ערכים לא מספיק - -- SQL Error: ORA-00947: not enough values SQL שגיאה: אורה-00947: לא מספיק ערכי - -- PL/SQL: SQL Statement ignored PL / SQL: SQL הצהרת התעלם - -- not enough values in oracle לא מספיק ערכים Oracle - -- sql not enough values SQL לא מספיק ערכי - -- not enough values pl sql לא מספיק ערכים PL SQL - -- ORA-947 אורה-947 - -- not enough values sql לא מספיק ערכים SQL - -- oracle ORA-00947 אורה Oracle-00947 - -- 947 - ORA-00947: not enough values 947 - אורה-00947: לא מספיק ערכי - -- SQL Error: ORA-00947 SQL שגיאה: אורה-00947 - -- "not enough values" "אין מספיק ערכים" - -- PL/SQL: ORA-00947: not enough values PL / SQL: אורה-00947: לא מספיק ערכי - -- ORACLE not enough value Oracle לא מספיק ערך - -- NOT ENOUGH VALUE אין די ערך - -- ORA-00947: not enough values אורה-00947: לא מספיק ערכי - -- SQL: ORA SQL: אורה - -- oracle workspace error display in arabic Oracle סביבת עבודה שגיאה המוצגים בערבית - -- insert oracle pl sql הכנס Oracle PL SQL - -- ORA-00947, select into אורה-00947, בחר לתוך - -- TABLE cast ORA-00947: not enough values TABLE להפיל אורה-00947: לא מספיק ערכי - -- oracle 00947 Oracle 00947 - -- Error: PL/SQL: ORA-00947: not enough values שגיאה: PL / SQL: אורה-00947: לא מספיק ערכי - -- ora-00947 select into אורה-00947 בחר לתוך - -- ora 00947 insert partition אורה 00947 הכנס מחיצה - -- ORACLE not enough values error Oracle לא מספיק ערכי שגיאה - -- oracle error 947 Oracle שגיאה 947 - -- getting error not enough values while inserting in sql שגיאה לא מקבל מספיק ערכים בעת הוספת ב SQL - -- insert into not enough values הכנס לתוך לא מספיק ערכי - -- oracle error not enough values Oracle שגיאה לא מספיק ערכי - -- insert not enough values לא מספיק להכניס ערכים - -- SQL Error: ORA-00947: SQL שגיאה: אורה-00947: - -- PL/SQL Not enough Values PL / SQL אין מספיק ערכים - -- oracle PL/SQL error by insert Oracle PL / SQL שגיאה על ידי הוספה - -- oracle insert statement error ora-25153 Oracle להכניס הצהרה שגיאה אורה-25153 - -- plsql not enough values plsql אין מספיק ערכים - -- google ORA-00947: not enough values אורה Google-00947: לא מספיק ערכי - -- oracle insert syntax value not enough Oracle הכנס ערך תחביר לא מספיק - -- ORA-00947 partition table אורה-00947 טבלת המחיצות - -- select to fix not enough values בחר לא מספיק על מנת לתקן את הערכים - --