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の: 502個- 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文が必要なときに2つの値のセットを、すなわち数のカラム数を指定し、その値では平等にするには、 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.しかし、 2番目の部分が含まれ、クエリのカラムの値がより少ない商品の最初の部分のカラム数をこれは、 。 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. 5月のエラーが起こるかをすべての種類のSQLステートメント-挿入、更新、または選択してください-とどこかで発生することもできます。H A VING句では、ネストされたサブ戻り値が少なすぎます列を選択します。 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:たとえば、メールORA - 00947エラーが返されることにしようとした場合は、次のSQLステートメントを実行する:

INSERT INTO Customers (Customer_ID, Customer_Name, Birthday) VALUES (’1′, ‘My Customer’);顧客を挿入する( customer_id 、 customer_name 、誕生日)の値( '1 ' 、 '私の顧客' ) ;

orまたは

SELECT * FROM Customers WHERE (Customer_ID, Customer_Name) IN (SELECT Customer_ID FROM Orders); SELECT * FROM得意先場所( 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ステートメントに適用されることやwhere句が判明しました。 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 / 1988分の08 ' ) ;

orまたは

INSERT INTO Customers (Customer_ID, Customer_Name) VALUES (’1′, ‘My Customer’);顧客を挿入する( customer_id 、 customer_name )の値( '1 ' 、 '私の顧客' ) ;

orまたは

SELECT * FROM Customers WHERE (Customer_ID, Customer_Name) IN (SELECT Customer_ID, Customer_Name FROM Orders); SELECT * FROM得意先場所( customer_id 、 customer_name ) ( customer_idを選択し、 customer_nameより受注) ;

orまたは

SELECT * FROM Customers WHERE (Customer_ID) IN (SELECT Customer_ID FROM Orders); SELECT * FROM得意先場所( customer_id ) ( customer_idより受注を選択) ;

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 私のデジタルライフフォーラム .です。



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= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

ORA-00947 のOra - 00947 - - ORA-00947: not enough values メールORA - 00947 :特定に十分な値 - - PL/SQL: ORA-00947: not enough values PL / SQLの: 502個- 00947 :特定に十分な値 - - not enough values 十分な値 - - ORA 00947 メールORA 00947 - - oracle not enough values オラクルは十分な値 - - cause a time delay in an oracle insert 遅延が原因で、時間を挿入するOracle - - not enough value Oracle 十分な値のオラクル - - PL/SQL: ORA-00947 PL / SQLの: 502個- 00947 - - PLS-00947 のpls - 00947 - - sql not enough values 十分な値のSQL - - oracle ORA-00947: not enough values オラクルのOra - 00947 :特定に十分な値 - - PLSQL PL/SQL: ORA-00947: not enough values plsql PL / SQLの: 502個- 00947特定に十分な値 - - PL/SQL: ORA-00947: not enough values PL / SQLの: 502個- 00947 :特定に十分な値 - - ora-00947 not enough values 十分な値のOra - 00947 - - oracle "not enough values" Oracleの"十分な値を変える" - - ora-00947 insert メールORA - 00947の挿入 - - find error value with ORA in oracle メールORAエラーが発生Oracleの値を見つける - - not enough values 十分な値 - - inserting only few values in the table pl/sql いくつかの値のみを挿入するには、表PL / SQLの - - oracle pl/sql error OracleのPL / SQLのエラーが発生 - - PL/SQL: ORA-00947: not enough values in oracle PL / SQLの: 502個- 00947 :特定の値を十分オラクル - - SQL Error ORA-00947 SQLエラーのOra - 00947 - - no enough values in oracle Oracleのに十分な値がない - - PL/SQL: SQL Statement ignored PL / SQLの: SQL ステートメントを無視する - - error 3114 create new item oracle 3114エラーが発生Oracleの新しいアイテムを作成 - - not enough values error エラーが発生しない十分な値 - - ORA-00947: not enough values メールORA - 00947 :特定に十分な値 - - "ORA-00947: not enough values" "メールORA - 00947 :特定に十分な値を変える" - - 00947 00947 - - NOT ENOUGH VALUES SQL 十分な値を特定のSQL - - oracle pl/sql on serbian OracleのPL / SQLの上セルビア語 - - SQL Error: ORA-00947 SQLエラー: 502個- 00947 - - SQL Error: ORA-00947: not enough values SQLエラー: 502個- 00947 :特定に十分な値 - - select in PL/SQL INSERT into table values を選択し、 PL / SQLの挿入をテーブル値 - - Not enough values Oracle error Oracleのエラーが発生しない十分な値 - - Error(113,43): PL/SQL: ORA-00947: not enough values エラーが発生( 113,43 ) : PL / SQLの: 502個- 00947 :特定に十分な値 - - error not enough values エラーが発生しない十分な値 - - oracle pl/sql error checking OracleのPL / SQLのエラーチェック - - oracle error not enough values Oracleのエラーが発生しない十分な値 - - enter value for + oracle pl/sql error 入力の値を+ OracleのPL / SQLのエラーが発生 - - Oracle "PL/SQL" "@SQLStatement" Oracleの" PL / SQLの" " @ sqlstatement " - - pls 00947 00947のpls - - ORA-00947: Niet genoeg waarden メールORA - 00947 : niet genoeg waarden - - ORA-00947: not enough values shutdown メールORA - 00947 :特定に十分な値をシャットダウン - - ORA-00947: not enough values in oracle メールORA - 00947 :特定の値を十分オラクル - - oracle pl/sql free video OracleのPL / SQLの無料ビデオ - - ORA:00947 Not enough values in Oracle メールORA : 00947特定の値を十分オラクル - - PL\SQL+SELECT+not enough values ポーランド語\のSQL + +十分な値を選択 - - pl/sql "not enough values" PL / SQLの"十分な値を変える" - -