Procedure error WHY?

i have this error, that could be the DATE?? or i'm wrong.
Create or Replace procedure GENERADOR.ing_prod (IDENT_P IN VARCHAR2, DES_P IN VARCHAR2, FI_P IN VARCHAR2, FT_P IN VARCHAR2)
as
begin
insert into producto(id_prod,descripcion,fecha_ini,fecha_ter)
values(ident_p,des_p,fi_p,ft_p);
exception
when others then
null;
end;
Help

Hi,
I am not sure as to what error you are getting. Please post the error you are getting.
Thanks,
Sharmila

Similar Messages

  • Cant restore iphone 3g 4.2.1 it would load half way threw then say unknown error why it is not working?

    cant restore iphone it would loa half way threw then say unknown error why is it not working and its a iphone 3g 4.2.1

    What is the exact error message you're getting?

  • HT201210 how come i cant update my ipod. im trying to update it but it always says error. why?

    why cant i update my ipod? when i try to update it. it always says error. why does it say that?

    If you are updating by Settings>General>Software Update then connect the iPod to your computer and update via iTunes.
    iTunes 10 for Windows: Update and restore software on iPod, iPhone, or iPad
    Otherwise, what is the complete wording of the error message.

  • Package produces error.Why?

    I tried putting a program in a package as shown
    below but got the following error:
    ====
    C:\myjava>javac -d c:\myjava\jre\classes testing2.java
    testing2.java:5: 'class' or 'interface' expected
    package DAYOSPACKAGE.test1;
    ^
    1 error
    ====
    Why am i getting this error.
    This is the code:
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    package DAYOSPACKAGE.test1;
    public class testing2 extends JFrame
    { private JTextField T1[];
    private JButton B1,B2;
    private JLabel L1[];
    private JPanel P1,P2,P3;
    public testing2()
    { T1=new JTextField[4];
    for(int i=0;i<T1.length;i++)
    { T1[i]=new JTextField();
    L1=new JLabel[4];
    for(int i=0;i<L1.length;i++)
    { L1[i]=new JLabel(" "+i);
    P1=new JPanel();
    P1.setLayout(new GridLayout(4,2));
    for(int i=0;i<4;i++)
    { P1.add(L1[i]);
    P1.add(T1);
    B1=new JButton("SAVE AS");
    B2=new JButton("ENTER");
    P2=new JPanel();
    P2.setLayout(new GridLayout(1,2));
    P2.add(B1);
    P2.add(B2);
    P3=new JPanel();
    P3.setLayout(new BorderLayout());
    P3.add(P1,BorderLayout.CENTER);
    P3.add(P2,BorderLayout.SOUTH);
    JFrame frame = new JFrame("LPC");
    frame.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    frame.getContentPane().add(P3);
    frame.pack();
    frame.setSize(200,200);
    frame.setVisible(true);
    public static void main (String [] args)
    { testing2 done =new testing2();

    The package statement must be put before the import statements.
    This code has to change
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    package DAYOSPACKAGE.test1;
    to this
    package DAYOSPACKAGE.test1;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;

  • Why when i go on saferi it says at the top of the page debug console NO ERRORS why is this ?, why when i go on saferi it says at the top of the page debug console NO ERRORS why is this ?

    why when i go on safari at the top of the web page there is a sign saying Debug console "NO ERRORS" why does this happen also a person called us saying that our ipad has a virus what should i do ??

    You can turn OFF debug console

  • TS3694 im trying to update my phone and it says could not be restored an unknoen error why is this

    im trying to update my phone and it says could not be restored an unknoen error why is this

    Hey alyreed22,
    Thanks for the question. I understand you are having issues updating to iOS 7. The following articles may help you resolve the error message:
    iOS: Troubleshooting update and restore issues
    http://support.apple.com/kb/TS1275
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    Thanks,
    Matt M.

  • Database procedure error

    Hi everyone,
    I have form which has two database procedures in key commit trigger. If any error occurs while executing the second database procedure
    I dont want to save the form and first database procedure values. Can anyone please tell me how to pass the database procedure error to
    form so that it can stop the saving of form and first database procedure .
    Thanks in advance for any reply.

    Dear all,
    Thanks for your kind reply.
    I have tried using DBMS_ERROR_CODE in ON-ERROR trigger. My code appears like this.
    create or replace procedure_name(parmeters) as --- This is a database procedure;
    begin
    procedure_body;
    exception
    when others then
    Raise_application_error(-20025,'Error Message');
    end;
    In form in ON_ERROR trigger I have declared like this:
    IF DBMS_ERROR_CODE = -20025 THEN      
    MESG('Error in Insertion');
    Raise form_trigger_failure;
    END IF;
    I am not getting error message that I declared in ON_ERROR trigger instead I am getting error message from raise_application_error statement.
    Could anyone please guide me exactly how to catch the database procedure in form level so that I can stop exceution of the form.

  • When attempting to edit a PDF doc, I get "Adobe has encountered an unknown error" Why?

    When attempting to edit a PDF doc, I get "Adobe has encountered an unknown error" Why?

    Hi myarwema,
    Are you using Acrobat on Mac OS or Windows (and what version?). You say you have version 11.0.0, but the current version is 11.0.10, so please choose Help > Check for Updates and install any available updates for starters.
    Does the error occur regardless of the PDF that you try to edit? If the problem is widespread, I would recommend a repair/reinstall of Acrobat (if installing the updates doesn't help). If the problem occurs with just the one document, that PDF could be damaged.
    Best,
    Sara

  • Icloud keeps giving this error "You cant sign in because of a server error" why do i keep getting this?

    I am trying to fix an outlook cal sync issue which requires me to sign into icloud. I get this error every time I try. "You cant sign in because of a server error" why do i keep getting this?

    I have used the solution below to fix mine and others that have run into this issue.
    Start --> Programs --> Accessories (Right Click on Command Prompt) --> Run as Administrator
    then type in:  "Netsh winsock reset"  (-without the quotes-)
    Hit enter, restart PC, iCloud For PC should now connect without any server errors
    (This solutions will work in some instances when trying to fix errors associated when you are unable to connect to iTunes also.)

  • I am always getting the message ' could not complete due to program error" Why does this happen

    I am always getting the message ' could not complete due to program error" Why does this happen

    Without knowing a lot more details we can't tell you anything. This is just the most generic Photoshop error message imaginable. What system are you on? What version of Photoshop? what are you doing when the error occurs? Provide as much info as you can. Refer to this as a start:
    Working with your Operating System’s Tools
    Mylenium

  • Ipod gen 4 only one podcast i download gives me the playback error WHY?

    ipod gen 4 only one pod cast i download gives the playback error Why?

    Likely it got corrupted.
    - Reset the iOS device. Nothing will be lost       
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Delete and redownload

  • WHY can't i change the civility in itunes store always said that there is an error, WHY can't i change the civility in itunes store always said that there is an error

    HELP
    WHY can't i change the civility in itunes store always said that there is an error, WHY can't i change the civility in itunes store always said that there is an error

    try this
    http://support.apple.com/kb/HT1452
    but also, do you already have your itunes account runnig on other computers?  if so how many ?

  • Virtual call run time error why? what is this?

    I constantly am getting a notification on my desktop reg: virtual call run time error' WHY??? what on earth is this 'virtual call' WHY ??? am i getting these notifications considering i do not have ANYTHING resembling a 'virtual call' app, add on or anything else on my mozilla

    http://support.microsoft.com/kb/125749
    it's a MS problem... and applies to visual C++ which is used in Mozilla for Windows.
    but is VCPP2005 and 2008, meanwhile Firefox doesn't use them anymore... replaced with VCPP10... as far as i know.
    Which version of Firefox are you using?
    Maybe you use older version Firefox or have some other program which uses that library.
    Try update to newer version...

  • I do not use wireless, but get wireless errors, why?

    I do not use wireless, but get wireless errors, why?

    Hi Clarence,
    I'm using an i Mac O sx 10.6.8  Even though I'm using wired ethernet access, I can turn airport on and let it run while using the wired connection.  I suppose that condition may cause the errors you're getting.  Is it at all possible that you have your Airport wireless in your Mac Pro turned ON?

  • Bea type 4 db2 driver-stored procedure error

    Iam creating a connection pool in weblogic 9.2 MP2
    using bea type 4 db2 driver and excuting a stored procedure.Iam getting following error
    I enabled spy
    spy(2008/02/13 09:41:58.050)>> Driver Name = DB2
    spy(2008/02/13 09:41:58.050)>> Driver Version = 3.60.24 (023731.010811.022315)
    spy(2008/02/13 09:41:58.050)>> Database Name = DB2/MVS
    spy(2008/02/13 09:41:58.050)>> Database Version = 8.1.5
    spy(2008/02/13 09:44:11.063)>> java.sql.SQLException: [BEA][DB2 JDBC Driver][DB2]UNACCEPTABLE SQL STATEMENT ErrorCode=-84 SQL
    State=42612
    The code is using
    CALL SP03 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    as follows
    String sql = "CALL SP03 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
    myCallableStmt = con.prepareCall(sql);
    is ther are any issues in calling stored procedure with type 4 bea db2 driver.
    connectrion pool details
    jdbc:bea:db2://server:447
    weblogic.jdbc.db2.DB2Driver
    user=user
    LocationName=server
    portNumber=447
    serverName=host
    batchPerformanceWorkaround=true
    The code is working fine with type 2 ibm driver connection pool
    Also Iam trying with ibm type 4 driver
    Iam getting following error in configuration itself
    <Feb 13, 2008 11:18:44 AM EST> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM
    abc.xy_def" set up for pool "DataSourceIBM" failed with exception: "com.ibm.db2.jcc.a.SqlException: DB2 SQL error: SQLCODE: -725,
    SQLSTATE: 42721, SQLERRMC: CLIENT APPLNAME;server".>
    details
    jdbc:db2://mvsavt1_vipa.corpny.csfb.com:447/server
    com.ibm.db2.jcc.DB2Driver
    user=user
    locationName=server
    portNumber=450
    drivertype=4
    Any configuration required at db2 server

    Ok, Odd. Please email this post (the code below) and the
    output of each to [email protected] and ask them to investigate
    why one driver finds the procedure and the other doesn't.
    This will get back to me officially, and then I will be able
    to enlist all the resources to debug it. Is the stored
    procedure owned by the same schema as your 'user'?
    Mohamed Rabbani P M wrote:
    Joe,
    It is the same code you gave
    BEA Driver Code
    import java.io.*;
    import java.util.*;
    import java.net.*;
    import java.sql.*;
    import weblogic.common.*;
    public class dddb2
    public static void main(String argv[])
    throws Exception
    Connection c = null;
    try
    java.util.Properties props = new java.util.Properties();
    Driver d = (Driver)Class.forName("weblogic.jdbc.db2.DB2Driver").newInstance();
    props.put("user", "user");
    props.put("password", "password");
    props.put("locationName", "dbserver");
    String URL = "jdbc:bea:db2://dbhost:447";
    c = d.connect(URL, props);
    DatabaseMetaData dm = c.getMetaData();
    System.out.println(dm.getDriverVersion());
    System.out.println("Database version is " + dm.getDatabaseProductVersion() );
    CallableStatement p = c.prepareCall("{ CALL SP03 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }");
    p.setInt(1,1234);
    p.setString(2,"XYZ");
    p.setString(3,"XYZ");
    p.setInt(5,1234);
    p.setString(6,"");
    p.setString(7,"XYZ");
    p.setString(9,"XYZ");
    p.setString(12,"XYZ");
    p.registerOutParameter(4,Types.INTEGER);
    p.registerOutParameter(8,Types.INTEGER);
    p.registerOutParameter(10,Types.INTEGER);
    p.registerOutParameter(11,Types.INTEGER);
    p.registerOutParameter(13,Types.INTEGER);
    p.setFetchSize(3);
    p.execute();
    catch (Exception e)
    { e.printStackTrace(); }
    finally
    { try {c.close();}catch (Exception e){} }
    IBM Driver Code
    import java.io.*;
    import java.util.*;
    import java.net.*;
    import java.sql.*;
    import weblogic.common.*;
    public class dddb2ibm
    public static void main(String argv[])
    throws Exception
    Connection c = null;
    try
    java.util.Properties props = new java.util.Properties();
    Driver d = (Driver)Class.forName("com.ibm.db2.jcc.DB2Driver").newInstance();
    props.put("user", "user");
    props.put("password", "password");
    //props.put("databaseName", "dbserver");
    String URL = "jdbc:db2://dbhost:447/dbserver";
    c = d.connect(URL, props);
    DatabaseMetaData dm = c.getMetaData();
    System.out.println(dm.getDriverVersion());
    System.out.println("Database version is " + dm.getDatabaseProductVersion() );
    CallableStatement p = c.prepareCall("{ CALL SP03 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }");
    p.setInt(1,1234);
    p.setString(2,"XYZ");
    p.setString(3,"XYZ");
    p.setInt(5,1234);
    p.setString(6,"");
    p.setString(7,"XYZ");
    p.setString(9,"XYZ");
    p.setString(12,"XYZ");
    p.registerOutParameter(4,Types.INTEGER);
    p.registerOutParameter(8,Types.INTEGER);
    p.registerOutParameter(10,Types.INTEGER);
    p.registerOutParameter(11,Types.INTEGER);
    p.registerOutParameter(13,Types.INTEGER);
    p.setFetchSize(3);
    p.execute();
    catch (Exception e)
    { e.printStackTrace(); }
    finally
    { try {c.close();}catch (Exception e){} }

Maybe you are looking for

  • How do I get Configurator 4 Panels to appear in Photoshop CC?

    Followed Configurator directions. Created Panel then Exported to PS CC Plug-In Panels folder. Restarted Photoshop after verifying that "Load Extensions" was checked. Extensions downloaded from Adobe Cloud are visible, but not the newly created Config

  • SQL query tunning help

    Hi All, Could you please help me out the below SQL query tuning . Temp table is having 1 Million records Master table is having 60 Million records Query : SELECT B.*,U.ID, SD, LE, LAE FROM client.Temp B, client.Master U WHERE U.policyno = B.policyno

  • Creative Audigy 2 Zs + Atheros AR8121

    Hello, I got myself a Creative Audigy 2 Zs and it's working perfectly, but during high network load if I use WASAPI or ASIO with the card, I get a bsod in ~5-5mins. The BSOD is pointing to my Atheros AR82 driver LE62x64.sys. Any ideas how to fix this

  • OS X Server 3.1.2 User variables still NOT fixed.

    [Sigh] Now, if I attempt to save a profile with a user variable in it (both VPN and Exchange), I recieve a server error message.  [bangs head on desk]

  • When the iPad is charging, the keyboard is always lose control.

    when the iPad is charging, the keyboard is always lose control. For example. When I press one word, the other one or two words also appear in the blank. When I hold the delate bottom, it doesn't work and many words appear on the board.