ORA-00947 enough values but enough of values is returned.

I know it sounds pretty obvious, but I am at a loss.

I created a package with some types, and everything has been very good compilation. However, when I ran the new feature, I got an error:
ORA-21700: object does not exist or is marked for deletion

After a little research, I realized that the types must be declared outside of the package.

As soon as I did it, I suddenly started getting error "not enough of values" on any of my. I compared the number of columns returned and the number of columns in the type, and they match.

Here is my code of type:
CREATE OR REPLACE TYPE  TSA_CUSTOM.Lost_Plan as object ( 
   LP_Key number,  -- The member key of the plan that is going away
   LP_Type varchar2(20),
   LP_Dept varchar2(12),
   LP_SubDept varchar2(12),
   LP_Class varchar2(12),
   LP_VendorName varchar2(50)
   );
   
CREATE OR REPLACE TYPE  TSA_CUSTOM.Target_Plan as object (    
   Tgt_Key number, -- The member key of the plan that the Lost plan data will be moving to
   Tgt_Dept varchar2(12),
   Tgt_SubDept varchar2(12),
   Tgt_Class varchar2(12),
   Tgt_VendorName varchar2(50)   
   );   
   
CREATE OR REPLACE  TYPE  TSA_CUSTOM.Output_Plan as object ( 
   LP_Result varchar2(8), -- Either 'MOVED' or 'DROPPED'
   LP_Key number,  -- The member key of the plan that is going away
   LP_Type varchar2(20),
   LP_Dept varchar2(12),
   LP_SubDept varchar2(12),
   LP_Class varchar2(12),
   LP_VendorName varchar2(50),
   Tgt_Key number, -- The member key of the plan that the Lost plan data will be moving to
   Tgt_Dept varchar2(12),
   Tgt_SubDept varchar2(12),
   Tgt_Class varchar2(12),
   Tgt_VendorName varchar2(50)   
   );
/  
   -- table of lost plans
CREATE OR REPLACE TYPE TSA_CUSTOM.Lost_Plans as table of tsa_custom.Lost_Plan;
   
CREATE OR REPLACE TYPE TSA_CUSTOM.Target_Plans as table of tsa_custom.Target_Plan;
   
CREATE OR REPLACE TYPE TSA_CUSTOM.Output_Plans as table of tsa_custom.Output_Plan;
/
and this is one of the incriminated code snippets:
function Calc_Lost_Plan_Moves return tsa_custom.Output_Plans pipelined
is
-- define the lost plan recordset
v_LP_Store tsa_custom.Lost_Plans;

v_Tgt_Store tsa_custom.Target_Plans;

v_Output_Store tsa_custom.Output_Plans;

Begin

-- Get all the vendor class lost plans
select ep.ra_member_key , 'Vendor Class', ep.dept_cd, ep.subdept_cd, ep.class_cd, ep.vendor_name_id bulk collect into v_LP_Store 
from (select distinct ra_member_key , dept_cd, subdept_cd, class_cd, vendor_name_id, class_member_id
      from tsa_custom.v_ep_vendor_class) ep
    ,(select distinct 'CL'||class_hier_cd as class_cd, vndr_nm 
      from mdm_publish.v_planning_master) mdm
where ep.class_member_id   = mdm.class_cd(+)
and   ep.vendor_name_id    = mdm.vndr_nm(+)
and   mdm.class_cd is null;
Any help would be appreciated.

Thank you!
John

Hello

v_LP_store is defined as an array of objects, then you will need to collect objects in there, not the columns in bulk:

select TSA_CUSTOM.Lost_Plan(
         ep.ra_member_key
       , 'Vendor Class'
       , ep.dept_cd
       , ep.subdept_cd
       , ep.class_cd
       , ep.vendor_name_id
       )
bulk collect into v_LP_Store
from
  ...

I created a package with some types, and everything has been very good compilation. However, when I ran the new feature, I got an error:
ORA-21700: object does not exist or is marked for deletion

Sometimes, this error is resolved by simply disconnecting the session and reconnect.

After a little research, I realized that the types must be declared outside of the package.

Are you sure?
Packed types can be used to support the pipeline functions (defined in the same package).
Oracle will create transparent and manage objects corresponding SQL types.

Edited by: odie_63 Dec 18. 2012 20:15

Tags: Database

Similar Questions

  • ORA-00947: not enough values error collect in bulk

    Hi guys,.

    I'm trying to COLLECT in a PL/SQL table, but I get ORA-00947: not enough values error message, even if the table has 4 values and select 4 values. Am I missing something?

    I have to add something to this?

    I've included the types of database objects that I created on the database.

    I have commented on the Original code and used the table DOUBLE just to make simple workout.

    /*

    CREATE or REPLACE TYPE Usage_Groups_for_coda_rec as

    object

    (Usage_Group_ID NUMBER (10),)

    Coda_comment VARCHAR2 (45).

    Amount NUMBER,

    Deduction_amount NUMBER);

    CREATE OR REPLACE

    TYPE USAGE_GROUPS_FOR_CODA_TAB AS

    TABLE OF Usage_Groups_for_coda_rec;

    */

    declare

    -CURSOR c_adj_roy_trans

    -EAST

    -SELECT DISTINCT rotr.on_behalf_of_soc_nbr, rotr.right_type

    -OF royalty_transaction rumble

    -WHERE rotr.ps_adjust_royalty_flg = cm_default.get_yes;

    CURSOR c_adj_roy_trans

    IS

    SELECT '052', 'P '.

    DOUBLE;

    t_uge_Grp_for_coda_tab USAGE_GROUPS_FOR_CODA_TAB; -the type of table was created on the database

    Start

    FOR r_adj_roy_trans IN c_adj_roy_trans LOOP

    -SELECT rotr.usage_group_id as Usage_Group_ID,

    -cm_coda_account_default.get_canc_adj_coda_comment | '- CAE' as Coda_comment,

    -SUM (NVL (rotr.gross_amt, 0) + NVL (rotr.reciprocal_deduction_amt, 0)) as an amount

    -SUM (rotr.reciprocal_deduction_amt) as Deduction_amount

    -COLLECT LOOSE t_uge_Grp_for_coda_tab

    -OF royalty_transaction rumble

    -WHERE rotr.ps_adjust_royalty_flg = cm_default.get_yes

    - AND rotr.on_behalf_of_soc_nbr = r_adj_roy_trans.on_behalf_of_soc_nbr

    - AND rotr.right_type = r_adj_roy_trans.right_type

    -Rotr.usage_group_id group;

    SELECT 6874534 as Usage_Group_ID,

    "This is a test - CAE" as Coda_comment.

    100 as an amount

    50 as Deduction_amount

    LOOSE COLLECTION t_uge_Grp_for_coda_tab

    DOUBLE;

    /*

    IF l_uge_Grp_for_coda_tab. COUNT > 0 THEN

    cm002p.std_coda_post_cashing_out_bulk (p_on_behalf_of_society_number = > r_adj_roy_trans.on_behalf_of_soc_nbr,)

    p_right_type = > r_adj_roy_trans.right_type,

    p_Usage_Groups_for_coda_tab = > t_uge_Grp_for_coda_tab,

    p_reverse_posting_direction = > FALSE,

    p_posting_override_direction = > NULL,

    p_cohi_id = > NULL

    );

    END IF;

    */

    END LOOP;

    end;



    Here's what you need to do:


    SELECT Usage_Groups_for_coda_rec(6874534, "It is a test - CAE", 100, 50)

    LOOSE COLLECTION t_uge_Grp_for_coda_tab

    DOUBLE;

    You try bulk collect into a collection of Usage_Groups_for_coda_recs, then you will need to make type compatible using the implicit of the type constructor.

  • ORA-00947: not enough values to choose from

    Hi all

    I created the type object and its type of nested table to hold the values.

    But am getting error as follows:

    Connected to Personal Oracle Database 10g Release 10.2.0.1.0 
    Connected as hr
    
    SQL> 
    SQL> create or replace type t_obj as object
      2  ( id number,
      3    dt date
      4   );
      5  /
    
    Type created
    
    SQL> create or replace type t_obj_nt is table of t_obj; 
      2  /
    
    Type created
    
    SQL> set serveroutput on
    SQL> 
    SQL>  declare
      2   l_tab t_obj_nt;
      3  
      4   begin
      5  
      6    select level,(sysdate+ level) into l_tab
      7    from dual connect by level < 5;
      8  
      9   dbms_output.put_line(l_tab.count);
     10   end;
     11  /
    
    declare
     l_tab t_obj_nt;
    
    
     begin
    
    
      select level,(sysdate+ level) into l_tab
      from dual connect by level < 5;
    
    
     dbms_output.put_line(l_tab.count);
     end;
    
    ORA-06550: line 8, column 3:
    PL/SQL: ORA-00947: not enough values
    ORA-06550: line 7, column 3:
    PL/SQL: SQL Statement ignored
    
    SQL> 
    

    Concerning

    SID

    CREATE or REPLACE type t_obj

    AS

    object

    (

    ID NUMBER,

    DT DATE);

    CREATE or REPLACE type t_obj_nt

    IS

    TABLE OF t_obj;

    -Option 1

    DECLARE

    l_tab t_obj_nt;

    BEGIN

    -You get several lines.

    SELECT t_obj (level, (sysdate + level)) in BULK COLLECT INTO l_tab FROM dual CONNECT BY level<>

    dbms_output.put_line (l_tab. (Count);

    END;

  • ORA-00947 not enough values, why?

    In this code, why do I get "ORA-00947 not enough of values, it has the same number of columns, just a select statement."

    Help, please.
    type list_employee_type is table of employee_tmp%rowtype;
    
     procedure search_by_jobId (jobId IN varchar2,  list_employee_rtn OUT list_employee_type,
            success OUT boolean, exception_msg OUT varchar2)
            is        
         begin    
           select * into list_employee_rtn from employee_tmp where job_id = jobId ;       
        end search_by_jobId;

    >
    still do not understand, can you please give me more details?
    >
    SQL does NOT include PL/SQL types. This is a PL/SQL type:

    type list_employee_type is table of employee_tmp%rowtype;
    

    You can use in SQL:

    select * into list_employee_rtn from employee_tmp where job_id = jobId 
    

    You must use a SQL type

    And the full exception you was probably one like this:
    >
    ORA-06550: line 7, column 22:
    PLS-00642: types of local collections not allowed in SQL queries
    ORA-06550: line 7, column 40:
    PL/SQL: ORA-00947: not enough values
    ORA-06550: line 7, column 8:
    PL/SQL: SQL statement ignored
    >
    PLS-00642 is the exception that said you that you used the wrong type.

    Here are the types SQL based on the SCOTT. EMP table

    -- type to match emp record
    create or replace type emp_scalar_type as object
      (EMPNO NUMBER(4) ,
       ENAME VARCHAR2(10),
       JOB VARCHAR2(9),
       MGR NUMBER(4),
       HIREDATE DATE,
       SAL NUMBER(7, 2),
       COMM NUMBER(7, 2),
       DEPTNO NUMBER(2)
      )
      /
    
    -- table of emp records
    create or replace type emp_table_type as table of emp_scalar_type
      /
    

    Now you can use "emp_table_type" in a PL/SQL procedure, and in the select statement.

  • PL/SQL: ORA-00947: not enough values error message

    Hi all I get Error (25.63): PL/SQL: ORA-00947: not enough error message values when executing after the insert statement. I am new to Oracle SPs, if someone could help me solve the problem.

    Insert in estimate (ID, mValue) values ('select (where pm.ID is null then 10))
    of other pm.ID
    End ID), m1.mID, (case when mValue < 1 and m1.mID in (1.7))
    then mValue * 100
    of another mValue
    mValue end) of
    Scott. Left outer join METRICS m1
    Scott. (PROJECTMETRIC h m1.mID = pm.ID and pm.ID = 10)');

    The syntax to insert rows into a table of a subquery is as follows:

    insert into table (col1, col2, ...)
    select ... , ..., ....
    from ..., ....
    where ....
    /
    
  • ORA-01401: inserted value too large for column

    I have a table.the structure is as below.

    SQL > desc IDSSTG. FAC_CERT;

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    FAC_CERT_SK NOT NULL NUMBER (38)

    LOB_BYTE_CD_SK NUMBER (38)

    SRC_CRDTL_ID_STRNG VARCHAR2 (20)

    PROV_CRDTL_SK NOT NULL NUMBER (38)

    LAB_SPCL_TYP_CD_SK NUMBER (38)

    FAC_CERT_ID NOT NULL VARCHAR2 (20)

    DATE OF FAC_CERT_EFF_DT

    FAC_CERT_EFF_DT_TXT NOT NULL VARCHAR2 (10)

    DATE OF FAC_CERT_END_DT

    FAC_CERT_END_DT_TXT VARCHAR2 (10)

    UPDT_DT                                            DATE

    UPDT_DT_TXT VARCHAR2 (10)

    SS_CD NOT NULL VARCHAR2 (10)

    ODS_INSRT_DT NOT NULL DATE

    ODS_UPDT_DT NOT NULL DATE

    CREAT_RUN_CYC_EXEC_SK NOT NULL NUMBER (38)

    LST_UPDT_RUN_CYC_EXEC_SK NOT NULL NUMBER (38)

    LAB_SPCL_TYP_CD VARCHAR2 (10)

    LOB_BYTE_CD VARCHAR2 (10)

    BUS_PRDCT_CD VARCHAR2 (20)

    I need set the value of a column to a default value.

    SQL > alter table IDSSTG. FAC_CERT change (FAC_CERT_EFF_DT_TXT default, TO_DATE('01010001','MMDDYYYY'));

    ALTER table IDSSTG. FAC_CERT change (FAC_CERT_EFF_DT_TXT default, TO_DATE('01010001','MMDDYYYY'))

    *

    ERROR on line 1:

    ORA-01401: inserted value too large for column

    Please notify.

    Kind regards

    VN

    ALTER table IDSSTG. FAC_CERT change (default FAC_CERT_EFF_DT_TXT ' 01010001');

  • ORA-16714: the value of property StandbyFileManagement is incompatible with

    Hi all:

    I have installed and configured the 10g grid control and set up a database of pending. After the establishment of the day before, I tried to launch a failover using enterprise manager GUI and I got the following errors:

    ORA-16714: the value of property StandbyFileManagement is incompatible with the configuration database.
    ORA-16714: the value of property ArchiveLagTarget is incompatible with the configuration database.
    ORA-16714: the value of property LogArchiveMaxProcesses is incompatible with the configuration database.
    ORA-16714: the value of property LogArchiveMinSucceedDest is incompatible with the configuration database.
    ORA-16766: Physics apply unexpected service offline

    with regard to the parameters in the production and standby, they are exactly the same ones that I see after the execution of the following
    See the detailed database 'production '.

    the only difference is that those I see through the management company of the interface with the exception of separation by underscore (for example StandbyFileManagement is Standby_File_Management I do not know what impact does).

    I'm new to the grid control and have no idea about the ORA-16766: Physics apply unexpected error currently out of service.

    any help is sincerely appreciated

    Simba

    They are really the same defined?
    Check with
    SELECT * SYSTEM. LOGSTDBY$ WHERE NAME PARAMETERS...
    or with
    DGMGRL > see the "SID" database StandbyFileManagement;

  • PL/SQL: ORA-00947

    Hello

    I have a package body as shown below

    CREATE OR REPLACE PACKAGE BODY DF AS
    FUNCTION T24_GetCOPYBatchKeyAndDate (RECKEY VARCHAR2)
    RETURN RTNVAL
    IS
    RTNVAL1 RTNVAL;
    DELPOS INTEGER.
    LISTSTRING VARCHAR2 (4000);
    BEGIN
    SELECT XMLRECORD IN LISTSTRING OF V_F_RO_COPY_KEYLIST WHERE RECID = RECKEY;

    LISTSTRING: = TRIM (LISTSTRING);
    WHILE LENGTH (LISTSTRING) <>0
    LOOP
    DELPOS: = INSTR (LISTSTRING, ' ');
    IF DELPOS = 0 THEN
    DELPOS: = LENGTH (LISTSTRING) + 1;
    END IF;
    -SELECT SUBSTR (LISTSTRING, 9, DELPOS - 9) INTO RTNVAL FROM DUAL;
    SELECT TO_DATE (SUBSTR (LISTSTRING, 1, 8), 'YYYYMMDD'), SUBSTR (LISTSTRING, 9, DELPOS - 9) IN THE DOUBLE RTNVAL1;
    LISTSTRING: = SUBSTR (LISTSTRING, DELPOS + 1, LENGTH (LISTSTRING) - DELPOS);
    END LOOP;
    RETURN (RTNVAL1);
    END T24_GetCOPYBatchKeyAndDate;
    END DF;
    /

    but I get compilation errors below is the error can someone let me know what is the problem here and earlier, I used this function as PIPILINED and PIPE_ROW (RTNVAL).

    It was working fine now, I wanted to test this without pipeline fucntion.

    SQL > SHOW ERRORS;

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    19/5 PL/SQL: statement ignored
    19/105 PL/SQL: ORA-00947: not enough values
    SQL >

    I think you should do a

    SELECT TO_DATE (SUBSTR (LISTSTRING, 1, 8), 'YYYYMMDD'), SUBSTR (LISTSTRING, 9, DELPOS - 9) BULK COLLECT INTO RTNVAL1 FROM DUAL;

    that your target is an array, which must be initialized and expanded what is done by a transaction block.

    HTH

  • ORA-00947 strange

    Hi all

    I have a query in a procedure as follows:

    Select min (Ref. INNER_CODE REFERENCE_V_INNER_CODE), item.COMPONENT_V_ID bulk collect into highest_quality_table
    starting T_ITEM, ref T_REFERENCE
    where (point. ITEM_V_CODE, item.COMPONENT_V_ID) in
    (select...)
    and point. ITEM_V_QUALITY_LEVEL = REF. REFERENCE_V_CODE_NAME
    Item.COMPONENT_V_ID group

    Is compiled successfully if I use a locally defined type for highest_quality_table:
    TYPE highest_quality_row_type IS RECORD (INNER_CODE T_REFERENCE. TYPE OF REFERENCE_V_INNER_CODE %, COMPONENT_V_ID T_COMPONENT.COMPONENT_V_ID%TYPE);
    TYPE highest_quality_table_type IS TABLE OF THE highest_quality_row_type;
    highest_quality_table highest_quality_table_type;

    But then I tried to define this type at the level of the schema:
    create or replace type as object highest_quality_row_type (INNER_CODE NVARCHAR2 (20), COMPONENT_V_ID NVARCHAR2 (8))
    create or replace type highest_quality_table_type to table of highest_quality_row_type

    After that, the query fails to compile with the strange ORA-00947 (not enough values).
    No idea why it could happen?

    Published by: 850271 on April 6, 2011 06:55

    Because RECORD! = OBJECT. If you in bulk collect in the array of objects your SQL must select object of this type. Change Select this option for:

    select  highest_quality_row_type(min(ref.REFERENCE_V_INNER_CODE),item.COMPONENT_V_ID)
      bulk collect
      into highest_quality_table
      from  T_ITEM item,
            T_REFERENCE ref
      where (item.ITEM_V_CODE,item.COMPONENT_V_ID) in ( select ... )
        and item.ITEM_V_QUALITY_LEVEL=ref.REFERENCE_V_CODE_NAME
        group by item.COMPONENT_V_ID
    /
    

    SY.

  • DataExport problem-ODBC layer error: [21S 01] - ORA - 00947

    Hello

    I have a planning application from where I want to transfer data to Oracle DB in the table "t". I have 11 dimension in the planning application, so I created 12 columns in the table "t"(11 pour les membres de la dimension et le 1 col valeur) with the following script-"»

    create table t)
    a varchar2 (100),
    b varchar2 (100),
    c varchar2 (100),
    d varchar2 (100),
    e varchar2 (100),
    f varchar2 (100),
    g varchar2 (100),
    h varchar2 (100),
    I varchar2 (100),
    j varchar2 (100),
    k varchar2 (100),
    number of l)

    I created a wire protocol dsn. But when I run the following calcscript.

    Difficulty (jan, AFA 08 budget)
    DATAEXPORT 'DSN' "xz" "t" "tstschma", "password";
    ENDFIX

    then he demonstrated below - error

    [Mon Jul 13 00:04:10 2009] Local/essdb/Plan1/admin/Info (1021000)
    Connection to SQL Server database is established

    [Mon Jul 13 00:04:10 2009] Local/essdb/Plan1/admin/Info (1012695)
    DataExport cannot do insert of batch for the relational table. The driver ODBC or the RDBMS does not support the insert commands. Export SQL for registration by registration

    [Mon Jul 13 00:04:10 2009] Local/essdb/Plan1/admin/Info (1021013)
    Layer ODBC error: [S 21, 01] == > [[DataDirect] [ODBC Oracle Wire Protocol driver] [Oracle] ORA-00947: not enough values]

    [Mon Jul 13 00:04:10 2009] Local/essdb/Plan1/admin/Info (1021014)
    Layer ODBC error: Native [947] error Code

    [Mon Jul 13 00:04:10 2009] Local/essdb/Plan1/admin/Error (1012085)
    Impossible to export the data to the SQL [t] table. Check the Essbase server log and the console of the system to determine the cause of the problem.

    [Mon Jul 13 00:04:10 2009] Local/essdb/Plan1/admin/Info (1021002)
    SQL connection is released

    [Mon Jul 13 00:04:10 2009] Local/essdb/Plan1/admin/Warning (1080014)
    Transaction [0 x 920001 (0x4a5a097a.0x7918)] abandoned due to the State [1012085].

    [Mon Jul 13 00:04:10 2009] Local/essdb/Plan1/admin/Info (1012579)
    Total time elapsed Calc [datexprt.csc]: [0.062] seconds

    [Mon Jul 13 00:04:10 2009] Local/essdb/Plan1/admin/Info (1013274)
    Calculation executed


    Please guide me if I am doing something wrong...


    Thank you and best regards.

    Hello

    Everything depends on you dense dimension used in your export, it will use one column for each Member.
    For example, if the dense dimension on the export was time and you were doing an export from level 0 (Level0 time members are Jan: Dec)
    So we should do a column for each dimension and 12 columns for each of the periods (Jan: Dec)

    The best way out is to export to a file first in a column, and you will see how the table should be addressed.

    Columns must exactly match the exported data.

    Take a look at this post, it something you can meet this way:- Re: DATAEXPORT command periods in columns in rare

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • MapBuilder: Import of Shapefile in Oracle Spatial failed: ORA-00947

    I'm trying to use the MapBuilder 11 g to import a .shp file.

    I'm their import to a pre-existing table and column SDO_GEOMETRY.

    I have two file types different .shp, 8307 SRID and 4326.
    When you try to import a file any SRID 8307 Shapefiles, I get the message: ORA-00913 too many values for each record # tried to convert
    When you try to import some SRID 8307 and SRID 4326 files, I get the message: ORA-00947: not enough values for each record # tried to convert

    I was not able to import any .shp successfully yet.

    Is there a problem with the .shp file, or is it another problem?

    Thank you!

    It is possible that pre-existing table definitions differ from those in shapefiles. for example, the database table is something like
    roads)
    number of road_id
    road_name varchar2 (64).
    the sdo_geometry form)
    While the shp and dbf file corresponding
    road_id, road_name, road_length, form
    Too many values error

    Interchanging the two defs should give not enough values error

    Load the shapefile into a new table. Does it work. If Yes, then copy the new table in that pre-existing and delete a new.
    E.g. roads shapefiles loading in the new table roads_shp (road_id, road_name, road_length, shape)
    Insert the roads select road_id, road_name, roads_shp form.
    drop table roads_shp;

  • SQL error: ORA-00947 while using INSERT INTO

    Hello

    I work with an INSERT INTO statement that returns ORA-00947.

    INSERT INTO prod (pId, a, b, c and d, e, f, g, h, i)
    VALUES (SEQ_PROD. NEXTVAL, 1,.
    (Select to_char (v.pdate, 'YYYY')
    to_char(v.pdate,'MM')
    d.prod
    , ROUND (sum (v.f) / 10)
    COUNT (*)
    Of...
    Group of to_char(v.pdate,'YYYY'), to_char(v.pdate,'MM'), d.prod
    )
    (0,0,0);

    10 fields are mapped in 10 fields. The data types match. The sub-select statement works very well.

    Any ideas?

    Sedso
    INSERT INTO prod (pId,a,b,c,d,e,f ,g,h,i)
    select  SEQ_PROD.NEXTVAL,1 a,b,c,d,e,f ,g,h,i FROM
    (select
       to_char(v.pdate,'YYYY') b, to_char(v.pdate,'MM') b, d.prod d, ROUND(sum(v.f)/10) e, COUNT(*) f,0 g,0 h,0 i
     from ...
    group by to_char(v.pdate,'YYYY'), to_char(v.pdate,'MM'), d.prod)
    

    Try this please

  • FND_PROFILE. VALUE('ORG_ID') returns null

    Hello world.
    FND_PROFILE . VALUE ('ORG_ID') always returns Null when I select double as follows

    SELECT FND_PROFILE. VALUE('ORG_ID')
    FROM DUAL;

    OR if I'm doing assignment as follows

    *: V_ORG_ID: = FND_PROFILE. VALUE ('ORG_ID'); *

    What is causing the problem, it's a configuration problem or what?

    What is your version of the application?

    Please see these documents.

    After the Patch 8222387 why Fnd_profile. Value('Org_id') return no value [ID 784279.1]
    Conc programs using the Fnd_profile parameter. Value (Org_id) Get Apps-Fnd-01436 [ID 784489.1]
    FND_PROFILE. VALUE('ORG_ID') returns-1 [1235274.1 ID]
    Package Fnd_Global - Fnd_Global.Resp_Id, Fnd_Global.Form_Id, Resp_Id, $form_id, Form_Appl_Id are equal to-1 [960111.1 ID]
    An incorrect value in the block: field $ $ $Profiles: Org_id [876402.1 ID]

    Thank you
    Hussein

  • CFGFWK-60850: the Test failed! CFGFWK-60853: A connection to the database, but no lines have been returned to the examination of the SQL query.

    Hi all..

    It's SOA 11.1.1.7... I created the schema and storage via RCU but when I try to configure JDBS schema components... his throw this error:

    CFGFWK-60850: the Test failed!

    CFGFWK-60853: A connection to the database, but no lines have been returned to the examination of the SQL query.

    I created 3 users of UCR and who were all successful, because I have no error... of these three alone is managed in the configuration tree SOA...

    No idea why like that...

    Thank you

    Aerts

    This that I solved it by installing EMP 11.1.2.2 with UCR and SOA 11.1.1.6...

  • Trying to cancel my subscription but can continue to will return to bike and returns through the cancellation process - tells me I need to call customer service but no phone number is available.

    Trying to cancel my subscription but can continue to will return to bike and returns through the cancellation process - tells me I need to call customer service but no phone number is available.

    Hello Marilyn,.

    Please sign in to your Adobe account and then go to the link below:

    Contact the customer service

    Reference: cancel your creative cloud membership

    Kind regards

    Sheena

Maybe you are looking for

  • Satellite L500 battery question

    Hello I found a number of topics with similar issues, but none of the solutions worked for me, so this is: I have a L500-1GE, which is about 6 years old, but has not been used much.Since yesterday, it does not load when it's plugged in, and when I pu

  • GV-D200 reconditioned

    A GV-D200 reconditioned became never available?

  • Qosmio F10: nVidia GF Go 5700 - driver update fails

    I have a problem: I'm not able to update the driver for the nvidia card of the 6.14.10.6612 (which since 2004!)I tried on the nvidia homepage, but none of the driver works with my laptop... (I've read that this is not recommended on other post, but i

  • How to change icons on OSX 10.11.3

    iMac (21.5 inch), end of 2013 2.7 GHz Intel Core i5 processor 8 GB 1600 MHz DDR3 memory IMac drive Intel Pro Iris 1536 MB graphics card Hello I like the 3D icons and bright and I'm working on for the past 6 years. To Yosemite, I used Candybar (part o

  • HP MINI 110-1030NR: HP MINI 110

    Trying to a password reset for the bios. Any help would be appreciated s/n(Personal information removed by Moderator) Concerning Daniel