PL/SQL error ORA-00904 not no projection in Oracle SQL Developer

Hello

I am new to Oracle and the different development tools available.
Using Oracle SQL Developer, we encountered a scenario where a PL/SQL package doesn't compile, but it only displays the warnings in the log of the compiler.

The packeage even when it is compiled using PL/SQL Navigator shows a much more detailed list of errors and highlights the real problem.

Why Oracle SQL Developer does not show the following error?

PL/SQL: ORA-00904: "SERIAL_LINE_ID": invalid identifier




Concerning
Adrian

There are various settings that you can give to messages. (for example, information, warning, severe).

Tools-PL/SQL compiler options.

Normally, just the first 20 messages are displayed.
Change the code to get rid of the warning messages or change settings to ignore the information and warning messages.

P.S. There is a dedicated forum sqldeveloper where your question should really be displayed.

Published by: Keith Jamieson on March 9, 2009 13:45

Tags: Database

Similar Questions

  • Oracle on the SQL Server tables dblinked query error ORA-00904

    Hello

    I created a dblink to a SQL from Oracle database using generic connectivity.
    The following query returns the error ORA-00904 invalid identifier in the (tblEmp.Empno) WHERE clause

    SELECT 'EmpNo', "EmpName", "DeptName".
    OF tblEmp@sqlserver.
    tblDept@sqlserver
    WHERE tblDept.DeptNo = tblEmp.Empno

    I had to include the column names between double quotes because of the case review of the columns, but I can't do the
    same thing for the WHERE clause.

    (1) so how can I fix this error?
    (2) also how can I include the Deptno column with the table alias in the columns list?
    (Deptno is ambiguous in the Emp and Dept tables)

    Kind regards
    Sam

    Looks like you have case-sensitive column names, try this

    SELECT "EmpNo","EmpName", "DeptName"
    FROM tblEmp@sqlserver e,
    tblDept@sqlserver d
    WHERE d."DeptNo" = e."Empno" --<--- are you sure this is the correct join condition
    

    What should we not

    WHERE d."DeptNo" = e."DeptNo"
    

    Published by: Alex Nuijten on September 22, 2009 13:28

  • SQL error: ORA-00979: not a GROUP BY

    Hi team,

    I am trying to execute the query

    SELECT DISTINCT comp.company_name |' -' || COMP.contract_number AS 'company_name '.

    , UPPER (bh.first_name) AS 'budget_holder '.

    , INITCAP (sup.first_name) |' -' || SUP. Surname AS 'supervisor '.

    , INITCAP (emp.status) AS "Department".

    , INITCAP (emp.first_name |) » '|| EMP. Surname) AS "employee."

    r.employee_id

    , emp.paaf_number AS 'paaf_num '.

    , emp.employee_payroll_number AS 'payroll_num '.

    , emp.discipline AS 'discipline '.

    , NVL (SUM (tg.week_day1), 0) AS "day 1".

    , NVL (SUM (tg.week_day2), 0) AS "day 2".

    , NVL (SUM (tg.week_day3), 0) AS day '3 '.

    , NVL (SUM (tg.week_day4), 0) AS "day4.

    , NVL (SUM (tg.week_day5), 0) AS "day5".

    , NVL (SUM (tg.week_day6), 0) AS "day6.

    , NVL (SUM (tg.week_day7), 0) AS "day 7".

    r.valid_from

    r.valid_to

    Tw_roster_data r

    JOIN tw_employee emp

    ON emp.employee_id = r.employee_id

    JOIN tg tw_timesheet_stage

    ON tg.employee_id = r.employee_id

    AND tg.week_commencing = r.valid_from

    JOIN the tw_contracting_company comp

    ON comp.contracting_company_id = r.contracting_company_id

    JOIN tw_supervisor sup

    ON sup.supervisor_id = tg.supervisor_id

    JOIN tw_budget_holder bh

    ON bh.budget_holder_id = sup.budget_holder_id

    WHERE r.contracting_company_id = 101

    AND r.VALID_FROM = January 31, 2015.

    AND r.VALID_TO = February 6, 2015"

    Group of r.employee_id, comp.company_name, bh.first_name,

    EMP.paaf_number, emp.employee_payroll_number, emp.discipline,

    r.valid_from, r.valid_to;

    But still the error below

    Error in the command line: 1 column: 17

    Error report-

    SQL error: ORA-00979: not a GROUP BY expression

    00979 00000 - "not a GROUP BY expression"

    Can help.

    Hello

    When to use analytical function oracle other columns used based on the analysis, must be included in the GROUP BY Clause

    SELECT expression1, expression2, ... expression_n,
      aggregate_function (expression)
    FROM tables
    WHERE conditions
    GROUP BY expression1, expression2, ... expression_n;
    

    SQL 101: Seen are medium and other aggregate data

      SELECT DISTINCT
             comp.company_name || ' - ' || comp.contract_number AS "company_name",
             UPPER (bh.first_name) AS "budget_holder",
             INITCAP (sup.first_name) || ' - ' || sup.surname AS "supervisor",
             INITCAP (emp.status) AS "department",
             INITCAP (emp.first_name || ' ' || emp.surname) AS "employee",
             r.employee_id,
             emp.paaf_number AS "paaf_num",
             emp.employee_payroll_number AS "payroll_num",
             emp.discipline AS "discipline",
             NVL (SUM (tg.week_day1), 0) AS "day1",
             NVL (SUM (tg.week_day2), 0) AS "day2",
             NVL (SUM (tg.week_day3), 0) AS "day3",
             NVL (SUM (tg.week_day4), 0) AS "day4",
             NVL (SUM (tg.week_day5), 0) AS "day5",
             NVL (SUM (tg.week_day6), 0) AS "day6",
             NVL (SUM (tg.week_day7), 0) AS "day7",
             r.valid_from,
             r.valid_to
        FROM tw_roster_data r
             JOIN tw_employee emp
                ON emp.employee_id = r.employee_id
             JOIN tw_timesheet_stage tg
                ON tg.employee_id = r.employee_id
                   AND tg.week_commencing = r.valid_from
             JOIN tw_contracting_company comp
                ON comp.contracting_company_id = r.contracting_company_id
             JOIN tw_supervisor sup
                ON sup.supervisor_id = tg.supervisor_id
             JOIN tw_budget_holder bh
                ON bh.budget_holder_id = sup.budget_holder_id
       WHERE     r.contracting_company_id = 101
             AND r.VALID_FROM = '31-JAN-2015'
             AND r.VALID_TO = '06-FEB-2015'
    GROUP BY
    comp.contract_number
    ,comp.company_name
    ,bh.first_name
    ,sup.first_name
    ,sup.surname
    , emp.status
    ,emp.first_name
    ,emp.surname
    r.employee_id,
    emp.paaf_number,
    emp.employee_payroll_number,
    emp.discipline,
     r.valid_from,
     r.valid_to;
    
  • HELP to ' SQL error: ORA-00937: not a function of simple-group.

    < p >
    Hello world:

    I have a forum based on oracle 11g database. There two tables: article of thread and the relationship between the two is "one-to-many.

    I want to list the total number of seen of all the discussions in each section, and I write the sql code:

    Select s.secname, sum (sum1) of join of s section

    (select secid, sum1 sum (thrviewednum) of the Group of threads by secid) tt WE s.secid = tt.secid;



    The 'secid' column is the pharmacokinetics of the section table and FK of the table of thread, the "thrviewednum" the number of views of a thread.

    But I get the error:

    Error in the command line: 1 column: 7

    Error report:

    SQL error: ORA-00937: not a function of simple-group

    I can't understand the problem, could someone help me? Thank you.
    < /p >

    Hello

    Use this

    Select s.secname, sum (sum1) of join of s section

    (select secid, sum1 sum (thrviewednum) of the thread by secid group) THE group s.secid tt = tt.secid by s.secname;

    This is because the select statement contains a column that is not part of any group function, so this column must be there in the group by clause

    Concerning

  • Error ORA-00904 on merger

    Hi all

    I try to execute the following statement, but I am getting error ORA-00904 fr.
    If I replace the clause on a very simple ("A" = "B") as he works.
    I tried to use concat() instead of | without success and I think I tried all the other options, but nothing works.

    Any idea? I'm not :-(


    Concerning
    Thomas


    Fehler beim Start line 1 in command:
    merge into dest SH_SCRIPT_ITEM_INFO
    using (select * from SH_SCRIPT_SOURCE CBC where to_date (src.) DWH_EXPORT_DATE) = to_date (SYSDATE-5))
    on (src.ORGANIZATION |) CBC. SOURCE_CODE | CBC. SKU = dest.ORGANIZATION | dest. SOURCE_CODE | dest. SKU)
    when matched, then update game
    dest. ADVANCE_ORDER_QUANTITY = SH_SCRIPT_SOURCE. ADVANCE_ORDER_QUANTITY,
    dest. ADVANCE_ORDER_START_QUANTITY = SH_SCRIPT_SOURCE. ADVANCE_ORDER_START_QUANTITY,
    dest. ADVANCE_ORDERS = SH_SCRIPT_SOURCE. ADVANCE_ORDERS,
    dest. AUTO_DELIVERY_QUANTITY = SH_SCRIPT_SOURCE. AUTO_DELIVERY_QUANTITY,
    dest. AUTO_DELIVERY_RATE = SH_SCRIPT_SOURCE. AUTO_DELIVERY_RATE,
    dest. CANCELLATION_QUANTITY = SH_SCRIPT_SOURCE. CANCELLATION_QUANTITY,
    dest. CHANNEL_CODE = SH_SCRIPT_SOURCE. CHANNEL_CODE,
    dest. CREATED = SH_SCRIPT_SOURCE. CREATED,
    dest. DURATION = SH_SCRIPT_SOURCE. DURATION,
    dest. EXPOSURE = SH_SCRIPT_SOURCE. EXHIBITIONS,
    dest. EZ_PAY_QUANTITY = SH_SCRIPT_SOURCE. EZ_PAY_QUANTITY,
    dest. EZ_PAY_RATE = SH_SCRIPT_SOURCE. EZ_PAY_RATE,
    dest. FIRST_INSTALMENT = SH_SCRIPT_SOURCE. FIRST_INSTALMENT,
    dest. ITEM_STATUS = SH_SCRIPT_SOURCE. ITEM_STATUS,
    dest. ITEM_TYPE = SH_SCRIPT_SOURCE. ITEM_TYPE,
    dest. LAST_MODIFIED = SH_SCRIPT_SOURCE. LAST_MODIFIED,
    dest. MULTI_QUANTITY_RATE = SH_SCRIPT_SOURCE. MULTI_QUANTITY_RATE,
    dest. NEW_NAME_ORDERS = SH_SCRIPT_SOURCE. NEW_NAME_ORDERS,
    dest. NUMBER_OF_INSTALMENTS = SH_SCRIPT_SOURCE. NUMBER_OF_INSTALMENTS,
    dest. PRICE_CODE = SH_SCRIPT_SOURCE. PRICE_CODE,
    dest. PROMO_CODES = SH_SCRIPT_SOURCE. PROMO_CODES,
    dest. QVC_PRICE = SH_SCRIPT_SOURCE. QVC_PRICE,
    dest. SALES_PRICE = SH_SCRIPT_SOURCE. SALES_PRICE,
    dest. COMMANDS IS SH_SCRIPT_SOURCE. ORDERS,
    dest. START_DATE_TIME = SH_SCRIPT_SOURCE. START_DATE_TIME,
    dest. START_DATE_TIME_2 = SH_SCRIPT_SOURCE. START_DATE_TIME_2,
    dest. START_QUANTITY = SH_SCRIPT_SOURCE. START_QUANTITY,
    dest. STOP_DATE_TIME = SH_SCRIPT_SOURCE. STOP_DATE_TIME,
    dest. SUBSEQUENT_INSTALMENTS = SH_SCRIPT_SOURCE. SUBSEQUENT_INSTALMENTS,
    dest. TOTAL_AMOUNT = SH_SCRIPT_SOURCE. TOTAL_AMOUNT,
    dest. TOTAL_AMOUNT_PHYSICAL = SH_SCRIPT_SOURCE. TOTAL_AMOUNT_PHYSICAL,
    dest. TOTAL_AMOUNT_WAITLIST = SH_SCRIPT_SOURCE. TOTAL_AMOUNT_WAITLIST,
    dest. WAITLIST_ORDERS = SH_SCRIPT_SOURCE. WAITLIST_ORDERS,
    dest. WAITLIST_QUANTITY = SH_SCRIPT_SOURCE. WAITLIST_QUANTITY,
    dest. WAITLIST_START_QUANTITY = SH_SCRIPT_SOURCE. WAITLIST_START_QUANTITY
    Delete where CBC. TRANSACTION_TYPE = "DEL".
    When not equal then insert)
    ADVANCE_ORDER_QUANTITY,
    ADVANCE_ORDER_START_QUANTITY,
    ADVANCE_ORDERS,
    AUTO_DELIVERY_QUANTITY,
    AUTO_DELIVERY_RATE,
    CANCELLATION_QUANTITY,
    CHANNEL_CODE,
    CREATED,
    DURATION,
    EXHIBITIONS,
    EZ_PAY_QUANTITY,
    EZ_PAY_RATE,
    FIRST_INSTALMENT,
    ITEM_STATUS,
    ITEM_TYPE,
    LAST_MODIFIED,
    MULTI_QUANTITY_RATE,
    NEW_NAME_ORDERS,
    NUMBER_OF_INSTALMENTS,
    ORGANIZATION,
    PRICE_CODE,
    PROMO_CODES,
    QVC_PRICE,
    SALES_PRICE,
    ORDERS,
    SKU,
    SOURCE_CODE,
    START_DATE_TIME,
    START_DATE_TIME_2,
    START_QUANTITY,
    STOP_DATE_TIME,
    SUBSEQUENT_INSTALMENTS,
    TOTAL_AMOUNT,
    TOTAL_AMOUNT_PHYSICAL,
    TOTAL_AMOUNT_WAITLIST,
    WAITLIST_ORDERS,
    WAITLIST_QUANTITY,
    WAITLIST_START_QUANTITY)
    values)
    SH_SCRIPT_SOURCE. ADVANCE_ORDER_QUANTITY,
    SH_SCRIPT_SOURCE. ADVANCE_ORDER_START_QUANTITY,
    SH_SCRIPT_SOURCE. ADVANCE_ORDERS,
    SH_SCRIPT_SOURCE. AUTO_DELIVERY_QUANTITY,
    SH_SCRIPT_SOURCE. AUTO_DELIVERY_RATE,
    SH_SCRIPT_SOURCE. CANCELLATION_QUANTITY,
    SH_SCRIPT_SOURCE. CHANNEL_CODE,
    SH_SCRIPT_SOURCE. CREATED,
    SH_SCRIPT_SOURCE. DURATION,
    SH_SCRIPT_SOURCE. EXHIBITIONS,
    SH_SCRIPT_SOURCE. EZ_PAY_QUANTITY,
    SH_SCRIPT_SOURCE. EZ_PAY_RATE,
    SH_SCRIPT_SOURCE. FIRST_INSTALMENT,
    SH_SCRIPT_SOURCE. ITEM_STATUS,
    SH_SCRIPT_SOURCE. ITEM_TYPE,
    SH_SCRIPT_SOURCE. LAST_MODIFIED,
    SH_SCRIPT_SOURCE. MULTI_QUANTITY_RATE,
    SH_SCRIPT_SOURCE. NEW_NAME_ORDERS,
    SH_SCRIPT_SOURCE. NUMBER_OF_INSTALMENTS,
    SH_SCRIPT_SOURCE.ORGANIZATION,
    SH_SCRIPT_SOURCE. PRICE_CODE,
    SH_SCRIPT_SOURCE. PROMO_CODES,
    SH_SCRIPT_SOURCE. QVC_PRICE,
    SH_SCRIPT_SOURCE. SALES_PRICE,
    SH_SCRIPT_SOURCE. ORDERS,
    SH_SCRIPT_SOURCE. SKU,
    SH_SCRIPT_SOURCE. SOURCE_CODE,
    SH_SCRIPT_SOURCE. START_DATE_TIME,
    SH_SCRIPT_SOURCE. START_DATE_TIME_2,
    SH_SCRIPT_SOURCE. START_QUANTITY,
    SH_SCRIPT_SOURCE. STOP_DATE_TIME,
    SH_SCRIPT_SOURCE. SUBSEQUENT_INSTALMENTS,
    SH_SCRIPT_SOURCE. TOTAL_AMOUNT,
    SH_SCRIPT_SOURCE. TOTAL_AMOUNT_PHYSICAL,
    SH_SCRIPT_SOURCE. TOTAL_AMOUNT_WAITLIST,
    SH_SCRIPT_SOURCE. WAITLIST_ORDERS,
    SH_SCRIPT_SOURCE. WAITLIST_QUANTITY,
    SH_SCRIPT_SOURCE. WAITLIST_START_QUANTITY)
    where src. TRANSACTION_TYPE = "INS".
    Fehler bei Befehlszeile:3 Spalte:43
    Fehlerbericht:
    SQL-Fehler: ORA-00904: "SRC". "' SKU ': ungultiger Bezeichner
    00904, 00000 - '% s: invalid identifier '.
    * Cause:
    * Action:

    Published by: user8339462 on 20.02.2012 03:18

    Thanks for posting the descrptions of src and dest...

    There is a sku may be misspelled possiibility...
    or you have packed columns with double quotation marks ("")

  • By clicking on the icon of debugging for a procedure or function survey error ORA-00904

    Hi all

    By clicking on the icon of debugging for a procedure or function throws the error ORA-00904.

    Developer SQL 4.1.0.19.07

    Java 1.8.0_40

    OS: Linux Mint 17.1

    Developer SQL 4.1.0.18.37 on the same machine works very well.

    Clues?

    Thank you!

    degger error.png

    It is indeed regressed as RDBMS to 10g have object_id all_procedures notice. Buggy.

  • Search and apply reception error: ORA-00904: "ON_ACCT_PO_NUM": not valid

    Hello

    We get an error when you try to apply revenues, ORA-00904: "ON_ACCT_PO_NUM": invalid identifier. Found some Metalink:

    Find and apply functionality Arxrwmai filled with ORA-00904: error "ON_ACCT_PO_NUM" [388202.1 ID]
    ARXRWMAI: ORA-00904: "On_acct_po_num": invalid identifier, applying the reception [564612.1 ID]
    ARP_PROCESS_APPLICATION is not valid - PLS-00302: component 'ON_ACCT_CUST_ID' must be declared [577194.1 ID]

    Basically all suggest that the columns (IE ON_ACCT_PO_NUM) are missing in AR_RECEIVABLE_APPLICATIONS. Check these tables and columns are actually there, however, I ran SQL > @$AR_TOP/patch/115/sql/arvrrapp.sql (the version is 115.26.15104.3). And re-tested, always a problem. Audit to verify what patches have been applied recently that could cause this.

    RDBMS: 11.2.0.1.0
    Oracle Applications: 11.5.10.2

    Thank you
    -Steve

    Hi steve;

    Check use select * ad_bugs and check patch that applied using the applied date column

    * PS: patch 5359197 is exist on your server that is mentioned on the research and apply feature Arxrwmai ends with ORA-00904: error "ON_ACCT_PO_NUM" [388202.1 ID] *.

    Respect of
    HELIOS

  • HELP-immediate execution in PL/SQL has received the error ORA-00904: invalid identifier

    What is the problem with the following codes from PL/SQL (actually it comes to Oracle Metalink Note: 313175.1):
    ===========
    declare
    cursor c1 is select * from $ semantic;
    v_statement VARCHAR2 (255);
    v_nc number (10);
    v_nt number (10);
    Start
    immediate execution
    "select count (*) from $ semantics" in v_nc;
    immediate execution
    ' select count (distinct s_table_name) of semantics$ "in v_nt;
    dbms_output.put_line
    ('Edit' | v_nc |) 'columns ' | v_nt | "tables");
    to r1 c1 loop
    v_statement: = 'ALTER TABLE ' | R1.s_owner | '.' || R1.s_table_name;
    v_statement: = v_statement | «change (' |)» R1.s_column_name | ' ';
    v_statement: = v_statement | R1.s_data_type | ' (' | r1.s_char_length;)
    v_statement: = v_statement | ' CHAR))';
    immediately run v_statement;
    end loop;
    dbms_output.put_line ('Done');
    end;
    /
    =====
    Executed once the codes as sysdba against 10gr 2 database, I got this error:
    From build to select columns to change
    Editing columns 4428 35249
    declare
    *
    ERROR on line 1:
    ORA-00904: invalid identifier
    ORA-06512: at line 22

    I see nothing wrong with the line of "immediate execution". I appreciate your help!

    Thank you.

    Hello
    Try to print the offending instruction using exception, I used small test cases by changing the pl/sql block, you may need to change to respond to all other types of data in this table.

    CREATE TABLE semantics$
    AS
       SELECT USER AS owner,
              table_name,
              data_type AS s_data_type,
              column_name,
              data_length AS s_char_length
       FROM cols
       WHERE table_name = 'MY_OBJECTS';
    
    DECLARE
       CURSOR c1
       IS
          SELECT *
          FROM semantics$;
    
       v_statement   VARCHAR2 (255);
       v_nc          NUMBER (10);
       v_nt          NUMBER (10);
    BEGIN
       EXECUTE IMMEDIATE 'select count(*) from semantics$' INTO v_nc;
    
       EXECUTE IMMEDIATE 'select count(distinct table_name) from semantics$'
          INTO v_nt;
    
       DBMS_OUTPUT.put_line(   'ALTERing '
                            || v_nc
                            || ' columns in '
                            || v_nt
                            || ' tables');
    
       FOR r1 IN c1
       LOOP
          v_statement   := 'ALTER TABLE ' || r1.owner || '.' || r1.table_name;
          v_statement   := v_statement || ' modify (' || r1.column_name || ' ';
          v_statement   :=
             v_statement || r1.s_data_type || '(' || r1.s_char_length;
    
          IF (r1.s_data_type = 'NUMBER')
          THEN
             v_statement   := v_statement || '))';
          ELSE
             v_statement   := v_statement || ' CHAR))';
          END IF;
    
          DBMS_OUTPUT.put_line (v_statement);
    
          -- EXECUTE IMMEDIATE v_statement;
       END LOOP;
    
       DBMS_OUTPUT.put_line ('Done');
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.put_line ('Statement = ' || v_statement);
          DBMS_OUTPUT.put_line (SUBSTR (SQLERRM, 1, 200));
          RAISE;
    END;
    

    _ Output

    ALTERing 13 columns in 1 tables
    ALTER TABLE MY_OBJECTS modify (OWNER VARCHAR2(30 CHAR))
    ALTER TABLE MY_OBJECTS modify (OBJECT_NAME VARCHAR2(30 CHAR))
    ALTER TABLE MY_OBJECTS modify (SUBOBJECT_NAME VARCHAR2(30 CHAR))
    ALTER TABLE MY_OBJECTS modify (OBJECT_ID NUMBER(22))
    ALTER TABLE MY_OBJECTS modify (DATA_OBJECT_ID NUMBER(22))
    ALTER TABLE MY_OBJECTS modify (OBJECT_TYPE VARCHAR2(19 CHAR))
    ALTER TABLE MY_OBJECTS modify (CREATED DATE(7 CHAR))
    ALTER TABLE MY_OBJECTS modify (LAST_DDL_TIME DATE(7 CHAR))
    ALTER TABLE MY_OBJECTS modify (TIMESTAMP VARCHAR2(19 CHAR))
    ALTER TABLE MY_OBJECTS modify (STATUS VARCHAR2(7 CHAR))
    ALTER TABLE MY_OBJECTS modify (TEMPORARY VARCHAR2(1 CHAR))
    ALTER TABLE MY_OBJECTS modify (GENERATED VARCHAR2(1 CHAR))
    ALTER TABLE MY_OBJECTS modify (SECONDARY VARCHAR2(1 CHAR))
    Done
    

    Concerning

    Published by: OrionNet on January 5, 2009 23:53

    Published by: OrionNet on January 5, 2009 23:55

  • Why this error ORA-00904: invalid identifier

    Hi all
    Please advice me what is wronge with this
    ORA-00904: "NONE": invalid identifier


    create or replace trigger test_table2
    before inserting
    on Ta
    for each line
    declare
    v2_none_con varchar2 (20);
    v2_none_con2 varchar2 (20);
    I have number (10);
    TYPE v2_EmpCurTyp IS REF CURSOR;
    v2_emp_cursor v2_EmpCurTyp;
    v2_stmt_str VARCHAR2 (200);
    RECORD IS of TYPE v2_employee_type (v_rowid varchar (100));
    v2_emp_content v2_employee_type;
    Start

    v2_none_con2: = 'NONE ';

    v2_stmt_str: = 'select rowid from t1 where name =' v2_none_con2;
    I: = 0;
    V2_emp_cursor OPEN FOR v2_stmt_str;
    LOOP FETCH v2_emp_cursor INTO v2_emp_content;
    EXIT WHEN v2_emp_cursor % NOTFOUND;
    dbms_output.put_line (v2_emp_content.v_rowid);
    i: = i + 1;
    v2_none_con: = 'NO ' | TO_CHAR (i);

    END LOOP;
    end;




    SQL > /.
    Insert in your values (10, 'W')
    *
    ERROR on line 1:
    ORA-00904: "NONE": invalid identifier
    ORA-06512: in the 'END. TEST_TABLE2', line 15
    ORA-04088: error during execution of trigger ' FINAL. TEST_TABLE2'


    SQL >

    First of all:

    v2_stmt_str: = 'select rowid from t1 where name =' v2_none_con2;

    I would give you compilation errors. I guess the real code is:

    v2_stmt_str: = 'select rowid from t1 where name =' | v2_none_con2;

    Now that the text of the statement would be? V2_none_con2 is 'NONE', dynamic SQL would be:

    Select rowid from t1 where name = NONE

    It is obvious, it will trigger ORA-00904 (except a column named NONE t1). What you want is:

    Select rowid from t1 where name ='' NONE

    So change:

    v2_stmt_str: = 'select rowid from t1 where name =' | v2_none_con2;

    TO

    v2_stmt_str: = ' select rowid from t1, whose name =="' | v2_none_con2 | '''';

    SY.

  • What error ora-01555 not appear in the alert file?

    Application side gets repeatable error ora-01555, but the journal alerts, there is no such error registered. I normally remembered that this error will be recorded, so by virtue of which the condition we do not find this error in the alert file?

    You would get on a LOB if ORA-0155

    (a) the LOB storage has been defined with PCTVERSION which is low (Oracle use not the Undo Segments, but use the space in the LOB Segment itself and if it isn't enough for several updates an ORA-0155 is triggered, which is not really related to Undo Segments, but the space in the LOB segment)

    (b) the LOB storage has been defined with RETENTION which is low
    (Even if you increase undo_retention, you change the LOB segment to PCTVERSION and then again in DETENTION for it to use the new value of undo_retention).

    See the MetaLink Notes 162345.1, 66431.1, and 563470.1

    Given that the ORA-01555 error really do not relate to the Undo segments, I believe that it would not be in the alert.log file - but I have not checked this.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • OCI error ORA-01403: no data found in oracle goldengate replication after tts instaniation

    I recently migrated our central system of tg (11.1.0.7) solaris from Sun to linux (11.2.0.3) environment using goldengate (tablespace transportable method used for instantiation).

    Initial replication has worked with HANDLECOLLISIONS and after I took over LAG, I took off Handlecollisions and noticed updated report discarded with OIC error ORA-01403: no data available in two repetitions.


    I followed all the steps in the migration tts steps provided by oracle best practices.


    Can anyone provide any clue how to fix this?


    Thank you in advance.

    For that error, the common problem is missing data, GoldenGate cannot find it because there is no key (search KEYCOLS in the installation guide), or a null is present (trying to update a record and a constraint is not null).

  • SQL Error: Invalid identifier ORA-00904

    Hello

    The Version of SQL Developer: 11g

    Two tables: nav_vendors (source), vendor (destination)

    Both having 16 'Same' columns (data will differ for some records of... for some data records are same to check the process DML works according to the need).

    I'm trying to insert update and delete using merge operation

    I m getting error below whenever I tried to merge them. All column names are the same in the table.

    SQL error: ORA-00904: "S". "" COMPANY_CODE ": invalid identifier

    SQL:

    MERGE INTO s source

    USING (nvl (d.VENDOR, s.VENDOR) selection of the SELLER,

    NVL (d.Name, s.Name) NAME.

    NVL (d.NAME3, s.NAME3) Name3,

    NVL (d.ADDRESS1, s.ADDRESS1) address1.

    NVL (d.DISTRICT, s.DISTRICT) DISTRICT.

    NVL (d.CITY, s.CITY), CITY,

    NVL (d.Country, s.Country) COUNTRIES.

    NVL (d.Postcode, s.Postcode) ZIP Code,

    NVL (d.TELEPHONE, s.TELEPHONE), PHONE,.

    NVL (d.Fax, s.Fax) FAX.

    NVL (d.contact, s.contact) CONTACT.

    NVL (d.URL, s.URL) URL.

    NVL (d.email, s.email) EMAIL.

    NVL (d.DELIVERY_TOLERANCE, s.DELIVERY_TOLERANCE) DELIVERY_TOLERANCE.

    NVL (d.EXCLUDE_REWORK_TEXT, s.EXCLUDE_REWORK_TEXT) EXCLUDE_REWORK_TEXT.

    NVL (d.COMPANY_CODE, s.COMPANY_CODE) COMPANY_CODE.

    (case

    When ((d.VENDOR = s.VENDOR)

    and (d.NAME = s.NAME)

    and (d.NAME3 = s.NAME3)

    and (d.ADDRESS1 = s.ADDRESS1)

    and (d.DISTRICT = s.DISTRICT)

    and (d.CITY = s.CITY)

    and (d.COUNTRY = s.COUNTRY)

    and (d.POSTCODE = s.POSTCODE)

    and (d.TELEPHONE = s.TELEPHONE)

    and (d.FAX = s.FAX)

    and (d.CONTACT = s.CONTACT)

    and (d.URL = s.URL)

    and (d.EMAIL = s.EMAIL)

    and (d.DELIVERY_TOLERANCE = s.DELIVERY_TOLERANCE)

    and (d.EXCLUDE_REWORK_TEXT = s.EXCLUDE_REWORK_TEXT)

    and (d.COMPANY_CODE = s.COMPANY_CODE))

    then "correspondence".

    When d.COMPANY_CODE is null

    then 'DELETE '.

    When s.COMPANY_CODE is null

    then "INSERT."

    on the other

    "no match."

    chck end)

    of s nav_vendorz

    full outer join of the seller d

    On(d.COMPANY_CODE=s.COMPANY_CODE)

    ) d

    (S.COMPANY_CODE = d.COMPANY_CODE AND (in d.chck ("not matched", 'match', 'DELETE')))

    WHEN MATCHED THEN

    ->UPDATE SET s.company_code = d.company_code <-error line

    WHERE in d.chck ("not matched", "DELETE")

    DELETE WHERE d.chck = 'DELETE '.

    WHEN NOT MATCHED THEN

    INSERT (VENDOR, NAME, ADDRESS1, NAME3, NEIGHBORHOOD, CITY, COUNTRY, CODE POSTAL, PHONE, FAX, CONTACT, URL, EMAIL, DELIVERY_TOLERANCE, EXCLUDE_REWORK_TEXT, COMPANY_CODE)

    VALUES

    (d.VENDOR, d.NAME, d.NAME3, d.ADDRESS1, d.DISTRICT, d.CITY, d.COUNTRY, d.POSTCODE, d.TELEPHONE, d.FAX, d.CONTACT, d.URL, d.EMAIL, d.DELIVERY_TOLERANCE,d.EXCLUDE_REWORK_TEXT,d.COMPANY_CODE);/

    (1) use different alias names

    (2) do not try to update a column that is used to 'ON' clause.

  • The rights of the applicant, change of context (PL/SQL-&gt; SQL-&gt; PL/SQL) and ORA-00904

    Hello

    I'm doing a validation test of principle with regard to the rights of the applicant. I created 2 diagrams of Test (DEFINER1 and INVOKER1) for the same thing. When I call a procedure in the Invoker1 Definer1 and the procedure has, in turn, a SQL statement inside that a PL/SQL function calls, so he get ORA-00904 "" is not a valid identifier. All procedures/packages in the scheme of Definer1 are created as the rights of the applicant. Simplified script below for the same, kindly let me know if I make a mistake, it's the expected behavior, or miss me something.

    set line 10000

    Set feedback off

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

    QUICK problem: error ORA-00904: "object name": invalid identifier

    CALLS while the use of the appellant's rights, procedure call PL/SQL that has a SQL that calls a PL/SQL function.

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

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

    GUEST

    GUEST

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

    Creating patterns DEFINER1 and INVOKER1 QUICK...

    GUEST

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

    CREATE DEFINER1 USER IDENTIFIED BY DEFINER1

    TEMPORARY TEMP TABLESPACE

    /

    GRANT CREATE SESSION TO DEFINER1

    /

    GRANT CREATE PROCEDURE FOR DEFINER1

    /

    CREATE INVOKER1 USER IDENTIFIED BY INVOKER1

    TEMPORARY TEMP TABLESPACE

    /

    GRANT CREATE SESSION TO INVOKER1

    /

    GRANT CREATE PROCEDURE FOR INVOKER1

    /

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

    GUEST will now connect to the DEFINER1 schema...

    GUEST

    CONNECT DEFINER1/DEFINER1

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

    Creating QUICK package (with rights of Summoners) with 2 functions simple (one with PRAGMA RESTRICT_REFERENCES another without him.)...

    GUEST

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

    CREATE or REPLACE PACKAGE global_pkg

    AUTHID CURRENT_USER

    AS

    FUNCTION add2 (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER;

    FUNCTION add2_rr (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER;

    PRAGMA RESTRICT_REFERENCES (add2_rr, WNDS, WNPS, NSOR, RNP);

    END global_pkg;

    /

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

    CREATE OR REPLACE PACKAGE BODY GLOBAL_PKG

    AS

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

    FUNCTION add2 (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER

    IS

    BEGIN

    RETURN (p1 + p2);

    END add2;

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

    FUNCTION add2_rr (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER

    IS

    BEGIN

    RETURN (p1 + p2);

    END add2_rr;

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

    END global_pkg;

    /

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

    ENCOURAGE creating stand-alone simple function (with rights of Summoners)...

    GUEST

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

    FUNCTION to CREATE or REPLACE add2 (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER

    AUTHID CURRENT_USER

    IS

    BEGIN

    RETURN (p1 + p2);

    END ADD2;

    /

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

    PROMPT creation of procedure (with rights of Summoners) who calls the Package and functions...

    GUEST

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

    CREATE OR REPLACE PROCEDURE pr_tester

    AUTHID CURRENT_USER

    IS

    l_num NUMBER (2);

    BEGIN

    dbms_output.put_line (1 + 1 = ' | global_pkg.add2_rr (1,1));

    BEGIN

    SELECT global_pkg.add2_rr (1.1)

    IN l_num

    FROM DUAL;

    dbms_output.put_line ('worked..');

    EXCEPTION

    WHILE OTHERS

    THEN

    dbms_output.put_line ('global_pkg.add2_rr wo' |) SQLERRM);

    END;

    dbms_output.put_line (1 + 1 = ' | global_pkg.) ADD2 (1,1));

    BEGIN

    SELECT global_pkg.add2 (1.1)

    IN l_num

    FROM DUAL;

    dbms_output.put_line ('worked..');

    EXCEPTION

    WHILE OTHERS

    THEN

    dbms_output.put_line ('global_pkg.add2 wo' |) SQLERRM);

    END;

    dbms_output.put_line (1 + 1 = ' |) ADD2 (1,1));

    BEGIN

    SELECT add2 (1.1)

    IN l_num

    FROM DUAL;

    dbms_output.put_line ('worked..');

    EXCEPTION

    WHILE OTHERS

    THEN

    dbms_output.put_line ('add2 wo' |) SQLERRM);

    END;

    END;

    /

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

    Grant QUICK overlooking the procedure to INVOKER1 scheme...

    GUEST

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

    GRANT EXECUTE ON pr_tester TO invoker1

    /

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

    Test QUICK 1: Define schema works...

    GUEST

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

    SET SERVEROUTPUT ON

    BEGIN

    pr_tester;

    END;

    /

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

    GUEST

    GUEST

    GUEST

    GUEST will now connect to the INVOKER1 schema...

    GUEST

    CONNECT INVOKER1/INVOKER1

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

    Test FAST 2: Fails with ORA - 00904 define schema

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

    SET SERVEROUTPUT ON

    BEGIN

    definer1.pr_tester;

    END;

    /

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

    GUEST

    GUEST

    GUEST

    INVITE to drop the two schemas, enter the password for the sys

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

    CONNECT SYS AS SYSDBA

    DROP USER CASCADE DEFINER1

    /

    DROP USER INVOKER1

    /

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

    GUEST

    GUEST has dropped to users...

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

    Thank you

    Marie.

    Basically, you know the answer...

    Why you call procedure Tester pr_tester with the name of schema prefix (definer1.pr_tester) during his call of the schema of the invoker?

    Now... Imagine the following query runs under the scheme of the appellant:

    SELECT global_pkg.add2_rr (1.1)

    IN l_num

    FROM DUAL;

    the schema of the invoker 'knows' global_pkg?

    HTH

  • Error ORA-00979 when you run the SQL in Oracle 11.2.0.3

    Hi Oracle Experts,


    I am trying to execute a SQL statement which consist of 2-3 levels of inline queries. Part of this SQL statement is as below:
    SELECT
          "SAMPLE_RESULT"."PROPERTYID",
          "SAMPLE_RESULT"."QUALIFIER",
          ROUND(AVG(SAMPLE_RESULT.RESULT),2) avg_result,
          AVG(DECODE(SAMPLE.QUALITYSTATUS, 'P', 1,'F', 5)) qltystatus,
          TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy') sampledt,
          TO_CHAR("SAMPLE"."SAMPLEDT",'rrrr-mm-dd') sortdate
          STD.stdev,
          getCL.cl
        FROM
          (
            SELECT
              ROUND(stddev(INS.avg_result),2) stdev
            FROM
              (
                SELECT
                  "SAMPLE_RESULT"."PROPERTYID",
                  "SAMPLE_RESULT"."QUALIFIER",
                  ROUND(AVG(SAMPLE_RESULT.RESULT),2) avg_result,
                  AVG(DECODE(SAMPLE.QUALITYSTATUS, 'P', 1,'F', 5)) qltystatus,
                  TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy') sampledt
                FROM
                  "SAMPLE",
                  "SAMPLE_RESULT",
                  "ACTIVITY"
                WHERE
                  (
                    "SAMPLE"."SAMPLEID" = "SAMPLE_RESULT"."SAMPLEID"
                  )
                AND
                  (
                    "SAMPLE_RESULT"."TESTINSTANCE" = fn_max_instance (
                    sample.sampleid, sample_result.testid, sample_result.propertyid
                    )
                  )
                AND
                  (
                    "SAMPLE"."ACTIVITYID" = "ACTIVITY"."ACTIVITYID"
                  )
                AND
                  (
                    ACTIVITY.VARIANTID IN ('Sales Gas','Contaminants End')
                  )
                AND
                  (
                    ACTIVITY.LOCATIONID = 'S-5003C'
                  )
                AND
                  (
                    SAMPLE.EVENTID <> 'AD-HOC'
                  )
                AND
                  (
                    "SAMPLE"."SAMPLESTATUS" = 'L'
                  )
                AND
                  (
                    TO_DATE(TO_CHAR(SAMPLE.SAMPLEDT,'dd-mon-yyyy')) BETWEEN TO_DATE
                    (TO_CHAR(:StartDate,'dd-Mon-RRRR')) AND TO_DATE(TO_CHAR(
                    :StartDate,'dd-Mon-RRRR')) + 6
                  )
                AND
                  (
                    SAMPLE_RESULT.PROPERTYID = 'GCV'
                  )
                GROUP BY
                  SAMPLE_RESULT.PROPERTYID,
                  SAMPLE_RESULT.QUALIFIER,
                  TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy')
              )
              INS
          )
          STD,
          (
            SELECT
              ROUND(AVG(INS.avg_result),2) cl
            FROM
              (
               SELECT
                  "SAMPLE_RESULT"."PROPERTYID",
                  "SAMPLE_RESULT"."QUALIFIER",
                  ROUND(AVG(SAMPLE_RESULT.RESULT),2) avg_result,
                  AVG(DECODE(SAMPLE.QUALITYSTATUS, 'P', 1,'F', 5)) qltystatus,
                  TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy') sampledt
                FROM
                 "SAMPLE",
                  "SAMPLE_RESULT",
                  "ACTIVITY"
                WHERE
                  (
                    "SAMPLE"."SAMPLEID" = "SAMPLE_RESULT"."SAMPLEID"
                  )
                AND
                  (
                    "SAMPLE_RESULT"."TESTINSTANCE" = fn_max_instance (
                    sample.sampleid, sample_result.testid, sample_result.propertyid
                    )
                  )
                AND
                  (
                    "SAMPLE"."ACTIVITYID" = "ACTIVITY"."ACTIVITYID"
                  )
                AND
                  (
                    ACTIVITY.VARIANTID IN ('Sales Gas','Contaminants End')
                  )
                AND
                  (
                    ACTIVITY.LOCATIONID = 'S-5003C'
                  )
                AND
                  (
                    SAMPLE.EVENTID <> 'AD-HOC'
                  )
                AND
                  (
                    "SAMPLE"."SAMPLESTATUS" = 'L'
                  )
                AND
                  (
                    TO_DATE(TO_CHAR(SAMPLE.SAMPLEDT,'dd-mon-yyyy')) BETWEEN TO_DATE
                    (TO_CHAR(:StartDate,'dd-Mon-RRRR')) AND TO_DATE(TO_CHAR(
                    :StartDate,'dd-Mon-RRRR')) + 6
                  )
                AND
                  (
                    SAMPLE_RESULT.PROPERTYID = 'GCV'
                  )
                GROUP BY
                  SAMPLE_RESULT.PROPERTYID,
                  SAMPLE_RESULT.QUALIFIER,
                  TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy')
              )
              INS
    
          )
          getCL,
          "SAMPLE",
          "SAMPLE_RESULT",
          "ACTIVITY"
        WHERE
          (
            "SAMPLE"."SAMPLEID" = "SAMPLE_RESULT"."SAMPLEID"
          )
        AND
          (
            "SAMPLE_RESULT"."TESTINSTANCE" = fn_max_instance (sample.sampleid,
            sample_result.testid, sample_result.propertyid)
          )
        AND
          (
            "SAMPLE"."ACTIVITYID" = "ACTIVITY"."ACTIVITYID"
          )
        AND
          (
            ACTIVITY.VARIANTID IN ('Sales Gas','Contaminants End')
          )
        AND
          (
            ACTIVITY.LOCATIONID = 'S-5003C'
          )
        AND
          (
            SAMPLE_RESULT.PROPERTYID IN ('GCV','SG','T. Sulphur','Dew Point',
            'HC Dew Pts')
          )    
        AND
          (
           TO_DATE(TO_CHAR(SAMPLE.SAMPLEDT,'dd-mon-yyyy')) BETWEEN TO_DATE(TO_CHAR
            (:StartDate,'dd-Mon-RRRR')) AND TO_DATE(TO_CHAR(:StartDate,
            'dd-Mon-RRRR')) + 6
          )
        GROUP BY "SAMPLE_RESULT"."PROPERTYID", "SAMPLE_RESULT"."QUALIFIER", TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy'), TO_CHAR("SAMPLE"."SAMPLEDT",'rrrr-mm-dd'),
        
          STD.stdev,
          getCL.cl
      )
    When I run the level the lowest and second lowest level inline queries statements, which consists of a select field of data and functions, there is no error and capable of generating the result.

    But when I run the statement which refer to the alias of queries inline (STD, getCL), it prompted an error ORA-00979 not a group by expression. This happened only Oracle 11.2.0.3. If I run the statement in another version of Oracle (11 GR 1 material and below), I am able to generate the result.

    Please advice how can I fix this problem.

    Published by: xysOra on 29 April 2013 19:37

    It seems that this should be the "SAMPLE" TO_CHAR conversions "" SAMPLEDT ".

    You seem to be willing to cut the time part of SAMPLEDT. The best way to do so is TRUNC (SAMPLEDT).

    In each of the groups of clauses, replace TO_CHAR ('SAMPLE'. ("' SAMPLEDT ', 'dd-Mon-yyyy') with TRUNC ('SAMPLE'. (' "SAMPLEDT") and completely remove the TO_CHAR ('SAMPLE'. ("' SAMPLEDT ',"dd-mm-rrrr") in the last group of.

    Replace in selection lists, TO_CHAR ('SAMPLE'. ("' SAMPLEDT ', 'dd-Mon-yyyy') with TO_CHAR (TRUNC ('SAMPLE'. ((' ' SAMPLEDT '), 'dd-Mon-yyyy') and replace TO_CHAR ("SAMPLE". "SAMPLEDT", "dd-mm-rrrr") with TO_CHAR (TRUNC ("SAMPLE" ".")) " "" "SAMPLEDT"), "dd-mm-rrrr").

    These changes can take you the ORA-00979 not one group by expression.

    Also the date manipulation is wrong — you do implicit conversions to date using default formats, when what you seem to want is to truncate the time part. Instead of

     TO_DATE(TO_CHAR(SAMPLE.SAMPLEDT,'dd-mon-yyyy')) BETWEEN TO_DATE(TO_CHAR
            (:StartDate,'dd-Mon-RRRR')) AND TO_DATE(TO_CHAR(:StartDate,
            'dd-Mon-RRRR')) + 6
    

    use

     TRUNC(SAMPLE.SAMPLEDT) BETWEEN TRUNC(:StartDate) AND TRUNC(:StartDate) + 6
    

    I hope this helps.
    David

  • Double Dash Mark in string causes ORA-01008: not all variables bound errors

    Hello
    I have the following text in a process of PL/SQL in APEX page: v_student_name: =: P31_LAST_NAME | ',' | : P31_FIRST_NAME | » --'|| : P31_STUDENT_ID;
    I'm under APEX 3.0.1 on Oracle Database 10 g Express Edition.

    When I use a dashboard, I don't get an error. When I use a double dash, I get the error: ORA-01008: not all variables related errors. Any suggestions on how to solve this problem would be greatly appreciated. Thanks in advance!

    Sharon

    Sharon-

    As the option - is a comment in PL/SQL, you can need to insert these characters through the function chr(). Have you tried:

     v_student_name := :P31_LAST_NAME||', '||:P31_FIRST_NAME||chr(45)||chr(45)||:P31_STUDENT_ID;
    

    Austin

Maybe you are looking for

  • broken biscuits

    Your browser has requested that this server could not understand.Size of a request header field exceeds the limit of the server. And before you say, oh, it seems that the file is corrupted, it is not its firefox it corrupts with calls wrong, is what

  • Can I organize my favorites in more mobile Firefox? How?

    I would like to be able to sort the bookmarks by entering them and move them to the list.

  • Satellite Pro 4300 no recovery mode standby

    I have a Satellite Pro 4340 is no longer recovers from sleep mode. I used to be able to press the standby on my wireless keyboard and she would go to sleep mode, and then flick the power switch and it would "wake up" to always to sleep but when I fli

  • HP Deskjet 3522 - cannot close the cartridge access door

    HP Deskjet 3522.  A open the cartridge access door to remove the paper jam.  Door will not go all the way down.  "Hook tab" on the side right will not lower or allow cover for rear seats in place.  Any ideas?  Thank you.

  • Computer doesn't contact printer

    When I try to print a message from the printer printed one letter per line, each letter was on a separate line. I have 'paused' the printer, then it turned off. Now when I try to print nothing happens. I installed new HP software for the printer, sti