Error in procedure Stoerd, but working in anonymous block.

declare
CUR cursor is
Select 'Edit'. Object_type | » '|| Object_name | ' Compile ' Invalid_Obj, Object_Type, Object_Name
From Dba_Objects has
Where A.Owner = 'Dataload' and A.Status = 'Invalid';
Begin
For I In news
Loop
Begin
Immediately run I.Invalid_Obj;
Exception
While others then
NULL; - Dbms_Output.Put_Line (Sqlerrm |': ' |) I.Object_Type |' '|| I.Object_Name);
End;
End loop;
Exception
While others then
NULL; - Dbms_Output.put_line (SQLERRM);
End;

Above anonymous block execute successfully.

but when I create as stored procedure then, it gives the error as
There is no such thing as Dba_Objects.

Please, suggest what I do for the stored procedure?

Published by: Nilesh hole on June 2, 2010 12:00 AM

If you don't have any rights sys you that should

(a) request the administrator to run utlrp (preferably, as this always runs compilation in the right order)
(b) do not use dba_objects but user_objects, assuming that you are connected as a LOADING

In a normal situation, this should not be necessary, so you should always question why you even want to do (and are reinventing the wheel). The dbms_utility package also has a COMPILE_SCHEMA procedure.

-----------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • Works of anonymous block - failure of the procedure

    Hi guys,.

    I am new to PL/SQL, and right now, I have problems with a new procedure.

    If I execute the instructions of an anonymous block, then everything works fine.
    As a stored procedure, it fails: PLS-00306: wrong number or types of arguments.

    I don't understand - could you please help me?


    Oracle Database 10 g Express Edition Release 10.2.0.1.0 - product
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE 10.2.0.1.0 Production."
    AMT for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production


    The procedure inserts data in multiple tables - so the original procedure has 800 lines.
    I tested it with a shorter version, but it still does not work as a procedure.


    Here is the execute statement:
    begin
    P_P5020_test (
      i_GespAnrede_tx                   => 'Herr',
      i_GespName_tx                     => 'GespName',
      i_GespVorname_tx                  => 'GespVorname',
      i_GespTitel_tx                    => 'GespTitel',
      i_GespStelle_tx                   => 'GespStelle',
      i_GespFunktion_isn                => 1,
      i_GespBereich_isn                 => 1,
      i_GespTelNr_nr                    => '1111',
      i_GespTelNrArt_isn                => 1,
    -- Daten vom Ansprechpartner:
      i_ApAnrede_tx                     => 'Frau',
      i_ApName_tx                       => 'ApName',
      i_ApVorname_tx                    => 'ApVorname',
      i_ApTitel_tx                      => 'Aptitel',
      i_ApStelle_tx                     => 'ApStelle',
      i_ApFunktion_isn                  => 2,
      i_ApBereich_isn                   => 2,
      i_ApTelNr_nr                      => '2222',
      i_ApTelNrArt_isn                  => 1,
    -- Allgemeine Parameter:
      i_UN_nr                           => 110532,
      i_TelNr_isn                       => 54,
      i_hiber_isn                       => 4,
      i_AnlVon_tx                       => 'SMY',
      i_TaskArt_isn                     => 12,
      i_Bemerkung_tx                    => 'Bemerkung'
             );
    END; 
    and here is the procedure:

    create or replace
    PROCEDURE p_P5020_test
    --
    -- Parameter:
    --
      (
    -- Daten vom Gesprächspartner:
      i_GespAnrede_tx varchar2,
      i_GespName_tx varchar2,
      i_GespVorname_tx varchar2,
      i_GespTitel_tx varchar2,
      i_GespStelle_tx varchar2,
      i_GespFunktion_isn number,
      i_GespBereich_isn number,
      i_GespTelNr_nr varchar2,
      i_GespTelNrArt_isn number,
    -- Daten vom Ansprechpartner:
      i_ApAnrede_tx varchar2,
      i_ApName_tx varchar2,
      i_ApVorname_tx varchar2,
      i_ApTitel_tx varchar2,
      i_ApStelle_tx varchar2,
      i_ApFunktion_isn number,
      i_ApBereich_isn number,
      i_ApTelNr_nr varchar2,
      i_ApTelNrArt_isn number,
    -- Allgemeine Parameter:
      i_UN_nr number,
      i_TelNr_isn number,
      i_hiber_isn number,
      i_anlVon_tx varchar2,
      i_TaskArt_isn number,
      i_sonstGrund_tx varchar2,
      i_Bemerkung_tx varchar2,
    -- für die Task:
      i_BeginnDatum_dt date,
      i_BeginnZeit_ts timestamp,
      i_FaelligVonDatum_dt date,
      i_FaelligVonZeit_ts timestamp,
      i_FaelligBisDatum_dt date,
      i_FaelligBisZeit_ts timestamp,
      i_TaskPrio_isn number
      )
    --
    --------------------------------------------------------------------------------
    --
    IS
    --
    -- Variablen:
    --
      v_MA_nr number := 4;
      v_GespBez_nr number;                -- return BezNr vom Gesprächspartner
      v_ApBez_nr number;                  -- return BezNr vom Ansprechpartner
      v_Task_nr number;                   -- return TaskNr für die Kon
      v_TaskThema_tx varchar2(40);            -- anhand taskart ermitteln
    -- für die Beziehung:
      v_BezGueltigVon_dt date := sysdate;
      v_BezGueltigBis_dt date := to_date('31.12.2099', 'DD.MM.YYYY');
    -- für die Notiz / Kon:
      v_KonThema_tx varchar2(40);
      v_KonArt_isn number;
      v_KonWeg_isn number := 2;           -- 2 = Telefon
      v_KonDatum_dt date := sysdate;
      v_KonUhrzeit_ts timestamp := systimestamp;
    --
    --
    --------------------------------------------------------------------------------
    --
    BEGIN
    -- select into für variablen durchführen
    --
    --
    -- v_taskThema_tx füllen
      IF i_taskArt_isn != 999999
      THEN
        SELECT
          TASK_ART_NAME
        INTO v_taskThema_tx
        FROM T_TASK_ART
        WHERE task_art_isn = i_taskArt_isn;
    
    --
    --
    -- v_KonArt_ISN füllen
        IF i_TaskArt_isn = 10    -- Nennung verweigert
        THEN v_KonArt_ISN := 13;
        END IF;
        IF i_TaskArt_isn = 11    -- krank 
        THEN v_KonArt_ISN := 7; 
        END IF;
        IF i_TaskArt_isn = 12    -- Urlaub
        THEN v_KonArt_ISN := 8;
        END IF;
        IF i_TaskArt_isn = 13    -- nicht am Platz
        THEN v_KonArt_ISN := 9;
        END IF;
        IF i_TaskArt_isn = 14    -- Feierabend
        THEN v_KonArt_ISN := 10;
        END IF;
        IF i_TaskArt_isn = 15    -- Besprechung
        THEN v_KonArt_ISN := 11;
        END IF;
        IF i_TaskArt_isn = 16    -- zu Tisch
        THEN v_KonArt_ISN := 12;
        END IF;
        IF i_TaskArt_isn = 17    -- sonstiger Grund
        THEN v_KonArt_ISN := 14;
        END IF;
    --
    --
    -- v_konThema_tx füllen
        SELECT
          kon_art_name
        INTO v_konThema_tx
        FROM T_KON_ART
        WHERE kon_art_isn = v_konArt_isn;
    --
    --
      END IF; -- i_taskArt_isn != 999999
    --
    --
    --------------------------------------------------------------------------------
    --
    --
    --
        IF i_ApName_tx IS NOT NULL      -- AP gefüllt? 
     -- dann Gesp anlegen
        THEN
          INSERT INTO t_bez
            (
            bez_un_nr,
            bez_anrede,
            bez_titel,
            bez_name,
            bez_vorname,
            bez_stelle,
            bez_funktion_isn,
            bez_bereich_isn,
            bez_bemerkung,
            bez_gueltig_von,
            bez_gueltig_bis,
            bez_anlvon
            )
          VALUES
            (
            i_un_nr,              -- bez_un_nr
            i_GespAnrede_tx,      -- bez_anrede
            i_GespTitel_tx,       -- bez_titel
            i_GespName_tx,        -- bez_name
            i_GespVorname_tx,     -- bez_vorname
            i_GespStelle_tx,      -- bez_stelle
            i_GespFunktion_isn,   -- bez_funktion_isn
            i_GespBereich_isn,    -- bez_bereich_isn
            'Als Gesprächspartner angelegt, '||           -- bez_bemerkung 
            to_char(sysdate, 'DD.MM.YYYY - hh24:mi')||
            ' '||
            i_AnlVon_tx||
            ' ',                  
            v_BezGueltigVon_dt,   -- bez_gueltig_von
            v_BezGueltigBis_dt,   -- bez_gueltig_bis
            i_AnlVon_tx           -- bez_anlvon        
            )
          RETURN t_bez.bez_nr INTO v_GespBez_nr;
      -- telefonnummer anlegen
          INSERT INTO t_telnr
            (
            telnr_von,
            telnr_vonnr,
            telnr_nr,
            telnr_art_isn,
            telnr_anlvon
            )
          VALUES
            (
            'BEZ',                  -- telnr_von
            v_GespBez_nr,           -- telnr_vonnr
            i_GespTelNr_nr,         -- telnr_nr
            i_GespTelNrArt_isn,     -- telnr_art_isn
            i_AnlVon_tx             -- telnr_anlvon        
            )
          ;
    --
    --
    -- jetzt AP anlegen
          INSERT INTO T_BEZ
            (
            bez_un_nr,
            bez_anrede,
            bez_titel,
            bez_name,
            bez_vorname,
            bez_stelle,
            bez_funktion_isn,
            bez_bereich_isn,
            bez_bemerkung,
            bez_gueltig_von,
            bez_gueltig_bis,
            bez_anlvon        
            )
          VALUES
            (
            i_un_nr,            -- bez_un_nr
            i_ApAnrede_tx,      -- bez_anrede
            i_ApTitel_tx,       -- bez_titel
            i_ApName_tx,        -- bez_name
            i_ApVorname_tx,     -- bez_vorname
            i_ApStelle_tx,      -- bez_stelle
            i_ApFunktion_isn,   -- bez_funktion_isn
            i_ApBereich_isn,    -- bez_bereich_isn
            'Als Ansprechpartner angelegt, '||           -- bez_bemerkung 
            to_char(sysdate, 'DD.MM.YYYY - hh24:mi')||
            ' '||
            i_AnlVon_tx||
            ' ',                  
            v_BezGueltigVon_dt,   -- bez_gueltig_von
            v_BezGueltigBis_dt,   -- bez_gueltig_bis
            i_AnlVon_tx           -- bez_anlvon          
            )
          RETURN t_bez.bez_nr INTO v_ApBez_nr;
    -- jetzt TelNr anlegen
          INSERT INTO t_telnr
            (
            telnr_von,
            telnr_vonnr,
            telnr_nr,
            telnr_art_isn,
            telnr_anlvon
            )
          VALUES
            (
            'BEZ',                -- telnr_von
            v_ApBez_nr,           -- telnr_vonnr
            i_ApTelNr_nr,         -- telnr_nr
            i_ApTelNrArt_isn,     -- telnr_art_isn
            i_AnlVon_tx           -- telnr_anlvon        
            )
          ;  
        END IF; -- i_ApName_tx IS NOT NULL
    --
    ---------------------------------------
    --
    --
    -- AP nicht gefüllt:
    --
        IF i_ApName_tx IS NULL
        THEN
      -- Gesprächspartner als Ansprechpartner anlegen
          INSERT INTO t_bez
            (
            bez_un_nr,
            bez_anrede,
            bez_titel,
            bez_name,
            bez_vorname,
            bez_stelle,
            bez_funktion_isn,
            bez_bereich_isn,
            bez_bemerkung,
            bez_gueltig_von,
            bez_gueltig_bis,
            bez_anlvon
            )
          VALUES
            (
            i_un_nr,              -- bez_un_nr
            i_GespAnrede_tx,      -- bez_anrede
            i_GespTitel_tx,       -- bez_titel
            i_GespName_tx,        -- bez_name
            i_GespVorname_tx,     -- bez_vorname
            i_GespStelle_tx,      -- bez_stelle
            i_GespFunktion_isn,   -- bez_funktion_isn
            i_GespBereich_isn,    -- bez_bereich_isn
            'Als Ansprechpartner angelegt, '||           -- bez_bemerkung 
            to_char(sysdate, 'DD.MM.YYYY - hh24:mi')||
            ' '||
            i_AnlVon_tx||
            ' ',                  
            v_BezGueltigVon_dt,   -- bez_gueltig_von
            v_BezGueltigBis_dt,   -- bez_gueltig_bis
            i_AnlVon_tx           -- bez_anlvon        
            )
          RETURN t_bez.bez_nr INTO v_ApBez_nr;    -- Achtung: wird als AP angelegt!
      -- telefonnummer anlegen
          INSERT INTO t_telnr
            (
            telnr_von,
            telnr_vonnr,
            telnr_nr,
            telnr_art_isn,
            telnr_anlvon
            )
          VALUES
            (
            'BEZ',                  -- telnr_von
            v_ApBez_nr,           -- telnr_vonnr ACHTUNG: vom AP!
            i_GespTelNr_nr,         -- telnr_nr
            i_GespTelNrArt_isn,     -- telnr_art_isn
            i_AnlVon_tx             -- telnr_anlvon        
            )
          ;      
        END IF; -- i_ApName_tx IS NULL
    --------------------------------------------------------------------------------
    --
    END;
    Here are the variables of the anonymous block work - the instructions are the same:
    declare
      i_GespAnrede_tx varchar2(4)       := 'Herr';
      i_GespName_tx varchar2(60)        := 'GespName';
      i_GespVorname_tx varchar2(30)     := 'GespVorname';
      i_GespTitel_tx varchar2(10)       := 'GespTitel';
      i_GespStelle_tx varchar2(60)      := 'GespStelle';
      i_GespFunktion_isn number         := 1;
      i_GespBereich_isn number          := 1;
      i_GespTelNr_nr varchar2(20)       := '111111';
      i_GespTelNrArt_isn number         := 1;
    -- Daten vom Ansprechpartner:
      i_ApAnrede_tx varchar2(4)         := 'Frau';
      i_ApName_tx varchar2(60)          := 'ApName';
      i_ApVorname_tx varchar2(30)       := 'ApVorname';
      i_ApTitel_tx varchar2(10)         := 'ApTitel';
      i_ApStelle_tx varchar2(60)        := 'ApStelle';
      i_ApFunktion_isn number           := 2;
      i_ApBereich_isn number            := 2;
      i_ApTelNr_nr varchar2(20)         := '222222';
      i_ApTelNrArt_isn number           := 1;
    -- Allgemeine Parameter:
      i_UN_nr number                    := 110532;
      i_TelNr_isn number                := 54;
      i_hiber_isn number                := 4;
      i_AnlVon_tx varchar2(5)           := 'SMY';
      i_TaskArt_isn number              := 12;
      i_sonstGrund_tx varchar2(15);
      i_Bemerkung_tx varchar2(50);
      --
      v_MA_nr number := 4;
      v_GespBez_nr number;                -- return BezNr vom Gesprächspartner
      v_ApBez_nr number;                  -- return BezNr vom Ansprechpartner
      v_Task_nr number;                   -- return TaskNr für die Kon
      v_TaskThema_tx varchar2(40);            -- anhand taskart ermitteln
    -- für die Beziehung:
      v_BezGueltigVon_dt date := sysdate;
      v_BezGueltigBis_dt date := to_date('31.12.2099', 'DD.MM.YYYY');
    -- für die Notiz / Kon:
      v_KonThema_tx varchar2(40);
      v_KonArt_isn number;
      v_KonWeg_isn number := 2;           -- 2 = Telefon
      v_KonDatum_dt date := sysdate;
      v_KonUhrzeit_ts timestamp := systimestamp;
    Why is - it works for anonymous block - bute the procedure fails with PLS-00306: wrong number or types of arguments?

    Thank you

    Sven

    Edited by: 923182 the 25.03.2012 06:38

    Welcome to the forum!

    Thank you for providing your information to Oracle version. You must provide this whenever you post a new question.

    All parameters for procedures and functions must be listed in the method call unless the parameter has a DEFAULT value.

    You said a procedure with 32 settings but have listed only 24 in the method call.
    It's ok if the 8 other parameters have default values, but they do not. You can use NULL by DEFAULT, if a parameter does not need to have a value or cannot be used.

    Your anonymous block does not call the procedure, there is no 'settings', that's why you don't see the problem there.

    See specification of default values for the parameters of subprogramme in the PL/SQL language reference
    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/subprograms.htm#i23202

    >
    By initializing formal IN the settings to the default values, you can pass a different number of actual parameters to a subprogram, accepting the default values to the actual parameters is omitted. You can also add new formal parameters without having to change all calls to the subprogramme.

    If a real parameter is omitted, the default value of the corresponding formal parameter is used.

    You can't ignore a formal parameter by omitting its actual parameter. To omit the first parameter and specify the second, use named notation (see passing parameters real subprogramme positional, Named or mixed Notation).

    You cannot assign NULL to an uninitialized formal parameter by omitting its actual parameter. You must assign NULL as default or explicitly pass null.
    >
    You can also use nototation "Named" when you specify parameters by name

    See passing parameters real subprogramme positional, Named or mixed Notation in the same doc.

    raise_salary(amount => bonus, emp_id => emp_num);
    
  • How to run four procedures, in order, by using anonymous block

    Hello

    I am trying to run four procedures, in order, by using anonymous block. If one of the procedure fails remaining should get executed. How can I achieve this?
    For example:
    BEGIN
    PROC1;
    Proc2; -Suppose that Proc2 will fail, it should not affect the execution of Proc3 and proc 4
    Proc3;
    Proc 4;
    END;

    Thank you!

    Hello

    Maybe this can help you:

    BEGIN
      begin
        Proc1;
      exception
        when others then
          dbms_output.put_line('proc1 ' || sqlcode || ' ' || sqlerrm);
      end;
      begin
        Proc2;
      exception
        when others then
          dbms_output.put_line('proc2 ' || sqlcode || ' ' || sqlerrm);
      end;
      begin
        Proc3;
      exception
        when others then
          dbms_output.put_line('proc3 ' || sqlcode || ' ' || sqlerrm);
      end;
      begin
        Proc4;
      exception
        when others then
          dbms_output.put_line('proc4 ' || sqlcode || ' ' || sqlerrm);
      end;
    END;
    

    In your case, it may be useful if your procedures have their own exception handlers, so they never fail. But then you need a sort of exception information that is displayed.

    concerning
    Kay

  • Problem with Photos Soft - error message the application built with PhotoLibraryPrivate version 215.65.00 but works with version 209.52.00

    Hello, hope someone can help with my MacBook Pro sluggish.

    I'm in OS X Yosemite 10.10.3 version and tried to upgrade to El Capitan 10.10.5 on a Macbook Pro 13inc mid-2012.  He said it has already downloaded twice, but when I open the software it is still sitting at 10.10.3 without modification, download seems to take a lot of time - been sitting for about 6 hours.

    Now I trying to open the photos app but get the following error coming - the application built with PhotoLibraryPrivate version 215.65.00 but works with version 209.52.00.

    Any advice on what are the options for my new photos app! Have you tried different time machine backups and the computer does not like it either

    Upgrade to El Captain OS X 10.11.2 which includes Photo 1.3

    I have no idea of what you see on "El Capitan 10.10.5" as far as I know is not exiat

    LN

  • supports the error screen saying I do work on an oppertating system that illustrator is more, but I just uninstalled the trial version? can anyone help?

    supports the error screen saying I do work on an oppertating system that illustrator is more, but I just uninstalled the trial version? can anyone help?

    Hello

    Please go through the requirements for illustrator: -.

    System requirements | Adobe Illustrator

  • After you have installed Windows 10, I can no longer create a PDF of my program Pagemaker 7.0.1. Purchased Acrobat DC, but not joy. Apparently, Acrobat PDF maker does not recognize the .pmd extension. I get errors and various suggestions, but nothing work

    After you have installed Windows 10, I can no longer create a PDF of my program Pagemaker 7.0.1. Purchased Acrobat DC, but still no joy. Apparently, Acrobat PDF maker does not recognize the .pmd extension. I get errors and various suggestions, but nothing works. WHAT?

    Print to Adobe PDF? Why the * & ^ * & ^ V_ $ didn't pay a lot more money to Adobe for an Adobe program that does not work with another Adobe program? Oh, right--they want to move me up (buy) the new Adobe graphics programs. I'll keep sweating this point and will no doubt wind up forking over a thousand$ $$ or so for 'new' stuff I don't need.

  • Dbms_metadata in a stored procedure. If the table is in the schema, run the stored procedure the procedure works very well.  If I try to get the table ddl to a different scheme it can't find table in a schema.  I run as an anonymous blocks and it works

    create or replace FUNCTION get_table_md (p_owner in varchar2, p_table IN VARCHAR2) RETURN CLOB IS
    -Define local variables.
    / * declare
    p_owner varchar2 (30): = "AVTYM";
    p_table IN VARCHAR2 (30): = "TRANSACTION_HEADER";
    */
    h NUMBER; -handle returned by OPEN
    e NUMBER; -handle returned by ADD_TRANSFORM
    p_tableref varchar2 (30);
    doc CLOB.
    Doc2 CLOB.
    BEGIN

    -Specify the type of object.
    h: = DBMS_METADATA. OPEN ('TABLE');

    -Use filters to specify the desired object.
    DBMS_METADATA. SET_FILTER (h, 'SCHEMA', p_owner);
    DBMS_METADATA. SET_FILTER (h, 'NAME', p_table);

    -Request that the metadata be transformed into creation DDL.
    th: = DBMS_METADATA. ADD_TRANSFORM (h, 'DDL');

    -Retrieves the object.
    doc: = DBMS_METADATA. FETCH_CLOB (h);


    -Free resources.
    DBMS_METADATA. Close (h);
    p_tableref: = substr (p_table, 1, 25). ' $RDEF';
    Doc2: is REGEXP_replace(doc,p_table,p_tableref,1,1,'im');.
    doc: = REGEXP_replace(doc2,'"CREATE_DT"','"EXCHANGE_DT"',1,2,'im');
    -dbMS_OUTPUT. Put_line (doc);
    RETURN doc;

    END;

    Hello

    check the privilege you may have granted by a role that you need direct access to the object and not by the role. You can test if you are granted by a role, by running the SET command role no and see if you can still run the anonymous block.

    Thank you

  • Don't click Desktop error "Windows explore does not work.

    Original title: Do not click on the desktop.

    My desktop computer has worked fine and now all of a sudden I am unable to click anywhere on the desktop. I am running windows 7 64 bit. If I click on the desktop, it will be then to come crash with the message Windows explores does not work then he'll recover. Other differences is that all desktop backgrounds are brighter and it disappears once it restarts, but returned about 5 seconds later. That I can not click once again. Are there any suggestions? I tried to start clean and had no success?

    Hi Nicolas,.

    I appreciate your efforts to solve the problem.

    I suggest you try the procedure described in the article and see if it helps.

    Error: Windows Explorer has stopped working
    http://support.Microsoft.com/kb/2694911/en-us

    Note:
    1) data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    2) after the boot minimum troubleshooting step, read the sections "How to reset the computer to start as usual after a clean boot troubleshooting" in the link provided to return the computer to a Normal startup mode.

    3) when you do the system restore to restore the computer to a previous state, programs and updates that you have installed are removed.

    4) note that it takes as much time to do the upgrade as to reinstall the operating system. In addition, some of your custom Windows settings may be lost through this process.

    Hope this information helps. Answer the post with an up-to-date issue report to help you further.

  • The procedure for anonymous block PL SQL Exception Handling problem?

    Hello

    I am a newbie to PL/SQL.

    I'm having trouble when trying to manage exceptions for block anonymous PLSQL procedure I created will format any block of 10 digits and format it in the next (XXX) - XXX - XXXX.

    I need.

    1. the handle if there is more than 10 digits

    2. the handle if there are less than 10 numbers

    3. the handle if there is no inappropriate character (no number)

    4. the handle if there is no characters.

    I created the following procedure.  However, my if/else attempts logic or raise exceptions have create errors so far.

    Please enter the following code.

    create or replace

    PROCEDURE format_phone

    (

    p_phne_no IN OUT VARCHAR2

    ) IS

    extra_digits EXCEPTION; -Number must be a 10-digit number. Please enter the 10-digit

    no_digits EXCEPTION; -Please enter numbers there is no registration numbers.

    invalid_char EXCEPTION; -You entered a wrong character please enter numbers 0-9.

    less_digits EXCEPTION; -You have entered too few figures. Please enter a 10-digit phone number.

    BEGIN

    p_phne_no: ='(')

    || SUBSTR (p_phne_no, 1, 3).

    ')'

    ||' -'||

    SUBSTR (p_phne_no, 4, 3)

    ||' -'||

    SUBSTR(p_phne_no,7);

    -DBMS_OUTPUT. Put_line (p_phne_no);

    EXCEPTION

    WHEN invalid_char

    THEN

    dbms_output.put_line ('you have entered an inappropriate character please enter 0-9 numeric values.');

    WHEN no_digits

    THEN

    dbms_output.put_line (' Please enter the numbers there is no registration numbers.) ") ;

    WHEN less_digits

    THEN

    dbms_output.put_line (' you entered too few figures.) Please enter a 10-digit phone number. ") ;

    WHEN extra_digits

    THEN

    dbms_output.put_line (' you entered too many numbers.) Must include a 10-digit number. Please enter the 10 digits. ") ;

    END format_phone;

    Thank you for your concern.

    >>

    OK so I need to declare a variable, then pass p_phne_no parameter to this variable.

    You could, Yes, but you don't need to. You could simply test the value of the passed parameter

    Length (p_phne_no) > 10...

    > - I need 3 scenarios more in which I test Val., which is always equal to the parameter p_phne_no?

    Yes (or just test p_phne_no).

  • CC closes whenever the mouse pointer is over the AI program, but works fine if I use a few keys on the keyboard.

    Problems with Ia CC, closes whenever the mouse pointer is over the program, but works fine if I use a few keys on the keyboard.  I already uninstalled and reinstalled the program and still does not work.  Any help would be greatly appreciated.  This is the error I get every time:

    Process: Adobe Illustrator [566]

    Path: / Applications/Adobe Illustrator CC/Adobe Illustrator Illustrator.app/Contents/MacOS/Adobe

    ID: com.adobe.illustrator

    Version: 17.1.0 (17.0.0)

    Code type: X 86-64 (Native)

    Parent process: launchd [164]

    Responsible for: Adobe Illustrator [566]

    User ID: 503

    Date/time: 2014-06-05 12:23:44.975-0500

    OS version: Mac OS X 10.9.3 (13 D 65)

    Report Version: 11

    Anonymous UUID: 6F26D886-D388-DB7F-A836-BB28AFDFD88D

    [long crash deleted information... Please only send a log of crash to a technician, when asked]

    > Mac OS X 10.9.3

    NUMBER of messages concerning problems with this version

    You could go to Illustrator to see what other users say

    10.9.3 Mac workaround https://forums.adobe.com/thread/1489922

    or

    -Activate the user Root Mac https://forums.adobe.com/thread/1156604

    -l' Root user more http://forums.adobe.com/thread/879931

    - and more user root http://forums.adobe.com/thread/940869?tstart=0

  • Web site does not work in FF but works in Chrome and IE

    No idea why this map of sin does not appear in FF but works in IE and Chrome?

    https://TPWD.Texas.gov/fishboat/fish/programs/gofishing/santoniofish/satx_map.phtml

    You will notice that there a shield icon on left (globe/lock) "Site identity button" on the address bar to indicate that the mixed active content is blocked.

    There is also an error in the Web Console (Firefox/tools > Web Developer).

    Blocked active content mixed loading"http://maps.googleapis.com/maps/api/js?key=AIzaSyDfhSEgHCTbghyruX1xpH26tysiRJI78og & sensor = false' [more]

    You need to change the HTTPS URL or leave out the Protocol:

    <script type="text/javascript"
        src="//maps.googleapis.com/maps/api/js?key=AIzaSyDfhSEgHCTbghyruX1xpH26tysiRJI78og&sensor=false">
    </script>
    
  • Cannot install updates windows xp error: 0x8024400A. Automatic Updates works.

    Original title: I want to update my windows xp but this error. also not automatically update work... Please tell me what I need to do...     [Error number: 0x8024400A]

    I want to update my windows xp but this error. also not automatically update work... Please tell me what I need to do...

    [Error number: 0x8024400A]

    Hi Cécile khan,.

    Follow the suggestions below for a possible solution:

    Method 1: I suggest you consult the site mentioned below:

    Temporary connection related errors may occur when you use Windows Update or Microsoft Update

     http://support.microsoft.com/kb/836941.

     

    Important note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2: Manually install updates

    Step 1: Steps to find the update does not install

    a. click Start, click all programsand then click Windows Update or Microsoft Update.

    b. click view update history. A window opens that displays all the updates that are installed and those who have not installed properly on the computer.

    c. in the status column, find the update which do not install and then click on the red X.

    Step 2: Manually download and install the update using the link below:

    http://support.Microsoft.com/downloads

     

    Method 3: Follow the steps listed in the following article to resolve the problem:

    You cannot install some programs or updates

    http://support.Microsoft.com/kb/822798

    Let us know if that helps.

  • Windows XP Installer does not not for updates or MS Office 2010. Error says Safe Mode, but I'm not in it.

    Windows XP Installer doesn't work is not for the automatic updates or MS Office 2010. Error says Safe Mode, but my machine is not in Mode without failure.

    When I try to run MS Office 2010, it starts a dialog box "preparing to install...." "even if I had used it for a few years. In the end, it fails and tells me whether I'm in Mode safe or I need to reinstall Windows Installer, I have done several times.

    I can automatically download updates and they seem to be installed, but all fail at the end.

    Any ideas on how to address this problem? Yes, I know that it is probably recommended to buy a new PC, but I need this machine operate fully for the next months. Then by reloading the operating system does not, either. He told me that my XP disc is the wrong version.

    Thanks in advance for any ideas.

    Hello

    1. What is the exact error message that you receive?
    2 have you made changes on the computer before this problem?
    3. all of the updates fail to install?
    Method 1: Make sure that the Windows Installer service is not set to disabled.

    (a) click Start, click run and type services.msc and press Enter to open Services.
    (b) click the Windows Installer service, and then click Properties.
    (c) if the startup type box is set to Disabled, change it to Manual.
    (d) click on OK to close the Properties window.
    (e) right click on the Windows Installer service and then click Start. The service should start without errors.
    (f) click on the file menu, and then click exit.

    Method 2: Error message "Could access the Windows Installer Service" when you install a program in Windows XP
    http://support.Microsoft.com/kb/315353
    Note: To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows
    http://support.Microsoft.com/kb/322756
    Also note: Please, do not KB315341 (how to perform an upgrade on the spot (reinstallation) of Windows XP)
    Method 3: You can also download the latest version of Windows Installer from the link below:
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=en
     
    Reference: troubleshoot common Windows Update, Microsoft Update and Windows Server Update Services installation issues
    http://support.Microsoft.com/kb/906602
     
     

     
     
  • What the devil? Error: The procedure entry point? detac3@ListData@@QAEPAUData@1@XZ couldnot be found in QtCore4.dll dynamic link library.

    I hope I'm in the good topic section. My computer feezes. I restart or turn off & that is what happens.                                                                                       Error: The procedure entry point?  detac3@listData@@QAEPAUData@1@XZ not found in the QtCore4.dll dynamic link library.                                      He also does this whenever I turn on my computer, even if it does not freeze. I was told that I have to use my CD to get into windows XP, but I have no idea where I put it. What now? Oh, I'm computer illiterate, so stupid it upwards!

    Hi Budge3263,

    1. Did you the latest changes on the computer?
    2. You have security software installed on the computer?

    QtCore4.dll is part of the development environment for a number of applications, including Photoshop Elements.

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you put the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

  • 0 x 80070424 error: Windows Update does not work

    Hello

    I am running Windows XP and I can't use Windows Update.  I tried to track items in the center of support for error 0 x 80070424, but I can not also find 'Automatic updates' when I run services.msc, even after re - download the Update Agent (tells me that I have already downloaded).  On the Windows Security Alert and control panels, I can't choose 'Automatic updates' (greyed) - this feature used to work for me, but it no longer works.  I would appreciate any input-thank you.

    Hello

    I am running Windows XP and I can't use Windows Update.  I tried to track items in the center of support for error 0 x 80070424, but I can not also find 'Automatic updates' when I run services.msc, even after re - download the Update Agent (tells me that I have already downloaded).  On the Windows Security Alert and control panels, I can't choose 'Automatic updates' (greyed) - this feature used to work for me, but it no longer works.  I would appreciate any input-thank you.

    The problem you are having is caused by malicious software. First, click HERE to download Malwarebytes. Install, update and perform a scan completes. Remove any detected object. Restart the computer if prompted. If you need help to use Malwarebytes click HERE. Once the malware has been removed, follow my instructions on THIS thread to restore your ability to update Windows.

Maybe you are looking for

  • Designation of the owner/group MySql server

    QUESTION: I recently discovered that the MySql server is the owner of all my directories root (see image).  I don't remember having done anything to cause such a transformation will take place.  Until I upgraded to El Capitan, this had never been the

  • Step to try with Win 8 numbers of touchscreen

    If you have any problem with the touch screen works on Windows 8, make sure that you have downloaded the latest Windows updates first. To run Windows Update, follow these steps: 1. press the Windows key 2. go in Control Panel 3. change the display of

  • OfficeJet 6700: HP Officejet 6700 don't scan

    When I originally you have this printer it scanned just fine. Now something has changed... When I try to scan to my computer, both by means of scanning HP or printers scan option, I get an error saying: "The operation could not be completed. (com.hp.

  • my e drive

    I need a new e-mail address since it will be mine agrees not to drive e. Barnes and noble

  • Unable to connect to my microsoft account in the Pro Surface

    Hello My friend send the surface pro in Australia. But, because of a problem, I am not able to connect to my microsoft account. I was able to subscribe photos and other services. But, whenever I try "switch to microsoft account" under the "users" men