Oracle Express and Displaying Better Error Output?

I recently installed Oracle Express 10g and I would like to make the DBMS app output better error codes (in this case, I guess the DBMS is "Application Express 2.1?"). Is there any way, for example, to output more precise error codes that will help me pinpoint where exactly a given problem arises?
A perfect example:
I just tried to run the following query against the database:
INSERT INTO ct_employee (ename, deptno, sal, mgr, job, hiredate, comm)
VALUES('Debbie Howe', 20, 30000, 122, 'Clerk', 17-Dec-80, '');
After clicking "Run", the following error message was displayed:
ORA-00984: column not allowed here
As you can see, there's no "arrows" pointing to where a given value might have been nosedived, nothing indicating where a column might be getting ignored or even anything explaining which value in general... Nothing. Only some obscure error code proceeded by Kafkaesque common sense (ironic).
So again, if anyone has an idea regarding how to somehow enable better error messages or the like, I would really appreciate it.

I wasn't using SQL*Plus...
What I was trying to do here out of all this was install Oracle to my actual computer so that I could start practicing SQL on my own without having to log into any development or production environments.
I installed SQL Express (completely free after registering to the Oracle website and logging into it with your provided e-mail address) for my main SQL / PL/SQL processing engine and after I did this, I then began using the "Application Express" to practice my SQL. Well, it turned out that it wasn't really doing what I needed it to (i.e. - various commands wouldn't output what I expected or multi-commands wouldn't work, etc.)
This made me eventually realize that what I had on my localhost, in terms of database, would suffice, but in terms of DBMS (in layman's, you're editor for SQL code, if you will) would not work. This led me to download SQL*Plus. The rest is history!
Steps to creating a basic localhost:
1.) Download Oracle Express (prepare for a big download). Install. If you get any error messages, chances are they're the same ones I had during installation. I never paid much heed to them and to this day, experience no problems. Just click through them...
2.) Download and install SQL*Plus. Again, expect a hefty download. The good thing about this, though, is that you only need to extract the main file and run the EXE in it. There's no installation involved.
3.) If you're using localhost for your database stuff, set everything up in your EXE first-run by entering the following:
Connection Name: "localhost"
Username: <username>
Password: <password>
(You can choose to save your password, too.)
I think everything else is already set, but in the event that it isn't, your hostname will be "localhost" and your port number will be "1521" (in most cases--this might be different in some office or work setting. In such an event, get with your systems geek.) Lastly, your SID will probably be "xe" and after you set all this up, you should press "Connect".
Then you're golden. :.)

Similar Messages

  • BADI or User Exit validation of operations tab and displaying an error mess

    Hello,
    Could you please let me know the BADI or User Exit validation of operations tab and displaying an error message in iw32
    Thanks,
    Suresh Mgl

    Hi ..
    I tried that user-exit...but i need to block the changes for purchase requisition which is in released stutus..
    .i hope i need to do implicite enchancement spot.....could you please help me to do that..
    Thanks,
    Suresh Mgl

  • Device keep turning plain and displaying App error 602

    Dear Sirs,
    My BlackBerry  Curve 9300 is not functioning properly any more after i made BlackBerry ID on my PC to connect the device with the PC.  The device turning plain and displaying App error 602
    Could you please help me
    Thank You in advance
    Abdi Halim Musa

    Hi Abdi Halim
    This Knowledge Based will guide you to solve that problem: "App Error 602" appears on the BlackBerry smartphone or "App Error 602" appears on the BlackBerry smartphone running BlackBerry 7
    Good luck.
    • Click Likes to appreciate those who helps you
    • If your issue solved, mark the best post in your thread as Solution

  • HT1766 my backup is failling to restore and displays an error message: backup either corrupt or not compatible with the device. This happened after updating to the latest software IOS7

    My backup is failling to restore and displays an error message: backup either corrupt or not compatible with the device. This happened after updating to the latest software IOS7

    I have the same issue and I KNOW my backup IS good. What happen is when you try to restore your phone apple says something like can I check for new updates and if you choose no, it just takes you back to the restore screen and a loop from then on.  If you dont update from you phone then when you back up you will have the 5.0.1 back up and then when you update to 5.1.1 and then try to restore the backup from 5.0.1 it say it EITHER corrupt or incompatible.. It is incompatible and its hard as **** to restore back to 5.0.1. I followed the restore to a T and still getting errors. I lost all text history and have to reset up email. All just because I wanted a 1.2 Gigs of "other" space back.

  • How to load PDF files into oracle database and display them in APEX

    Hi All,
    We have a requirement for loading the Loading PDF files (lots of PDf files) to the oracle database and then display the PDF files in the Oracel APEX report.
    So that User can view the PDF files. Our current APEX verison is 3.2..
    Please let me know how to implement it and where to find the sample application!
    Thanks in advanced!
    Jane

    Thanks Tony for your quick response!
    We need to load a lot of PDfs (history + current).
    I have a questions about the SQL loader. I am trying to insert a pdf file into a table by following the oracle loading sample:
    http://download.oracle.com/docs/cd/B10501_01/text.920/a96518/aload.htm
    Example Data File: loader2.dat
    This file contains the data to be loaded into each row of the table, articles_formatted.
    Each line contains a comma separated list of the fields to be loaded in articles_formatted. The last field of every line names the file to be loaded in to the text column:
    Ben Kanobi, plaintext,Kawasaki news article,../sample_docs/kawasaki.txt,
    But i don't know to where should I put my pdf file on the server.
    for example:
    ,../sample_docs/kawasaki.txt,
    Where is the file 'kawasaki.txt'??
    I try my local path, it didn't work. like c:\temp.
    then I loaded teh PDf file into our server(/findev20/olmtest/orafin/11.5.7/olmtestcomn/temp) , and In my data file. I put the path
    1, pdf_emp1,../findev20/olmtest/orafin/11.5.7/olmtestcomn/temp
    but I got the error: the system can not find the file specified.
    Where should I put the PDf files on the server and how to specify the path in the data file?
    Thanks!
    Jane

  • Deploying Oracle Express and Java Application in one installation

    Is there a way to deploy a Java application using Oracle express as the back end in one installation? So in other words, rather than installing oracle express separately from the application, we are looking to install from one executable including both the java application and all the necessary components for oracle express to run.
    Your help is greatly appreciated.
    Thank you,
    Mahmoud

    Hello,
    you can install the database using a response file. Depending on the installer of your Java application you could create a kind of meta-installer that creates a response file for the database as well as one response/parameter file for your application installer and hence run both in one step.
    See the [url http://download.oracle.com/docs/cd/E17781_01/install.112/e18802/toc.htm#BABCCGCF]corresponding section of the Installation Guide for details on the response file.
    -Udo

  • Oracle Express and regedit

    Hi!
    I installed Oracle Express on Windows XP and I want to use PL/SQL Developer (could be any other tool) to develop with pl/sql. But I realize that the Express installation does not creates the usual HOME0 or HOME1 nor ALL_HOMES Oracle entries in the regedit, and I need them so my tool can detect the instance.
    Why the Oracle Express does not create these entries in regedit and how can I create them? I don't know which entries I need.
    Regards

    Hi,
    Thank you for your fast response.
    RPuttagunta, with the new PL/SQL Developer 7 trial it works fine and the database name XE is found, but with earlier versions like 5.0 (which is what we got in my project) it doesn't work. A workaround I found is to manually create the HOME1 and ALL_HOMES entries in the regedit, taking as a reference an Oracle 9i client installation. My question is if that regedit entries are present in the 10g and future versions, or we will have to patch all the installations.
    Legatti, SQL Developer is fine and I liked, but PL/SQL Dev still has some additional features we are used to work with. Anyway I will suggest it to the manager as an alternative to get an upgrade of PL/SQL, since it is free to use.
    Thanks & Regards

  • Oracle Express and Forms

    Hi
    Does anyone know if u am able to user oracle forms fromt eh development suite to connect to a oracle express xe edition?
    or do i need to download the full version of the DB.

    Forms can be used with Oracle 10g XE or 11g XE....: http://oraclekit.wordpress.com/2011/02/02/connecting-oracle-forms-6i-to-oracle-xe-10g/
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • HT5654 I performed the update to my iphone to get the latest version, but now it does not want to activate my phone and displays the error message that the activation server is not available. Tried itunes and no luck. help anyone

    I have an iphone 3gs of which I attempted the latest IOS pdate through itunes. Now, it shows the original start up screen and when it gets to the activiaton screen it displays an error message stating: Your iphone could not be activated because the activation server is temporarily unavailable.  Help anyone??

    "We're Sorry, Activation Server Temporarily Unavailable, contact Customer Care?"
    99.9% of the time, the cause of this issue is the fact the phone was jailbroken/hacked to unlock it for use on networks other than the network the phone was originally locked to. Apple maintains a database of officially unlocked iPhones, and when Apple's servers detect phones such as yours, activation stops & you get the message you got.
    So, you need to get a sim card from the carrier the phone was originally locked to, or get it officially unlocked, if you want to activate it. Because it appears that it was not officially unlocked.

  • Oracle Express and forms/reports

    Hi there
    If we install Oracle Express database on a remote site with single server can we run Oracle forms/reports on the same server that will connect to the Oracle Express database ?

    Yes you can. Just create the required Oracle Net conntections and use it in your froms and reports. Ensure that the listener is running.

  • Jerky Video and Display Driver Error

    We use CS3 at our production house.  My editor has told me he is now getting jerky videos and the following error.  This pops up in a yellow triangle at the bottom of the screen which when I click on it, an Events Window is opened.
    Error: "Desktop Display Mode has been reset because the video card returned an error. Please reset the Desktop Display Mode in the Playback Settings dialog as this may impact your playback performance."
    The computer is a Sony Vaio with 1GB RAM, P4 w/HT, RAID5 of SCSI drives, and ATI Radeon 1600 Pro.  We are running Windows XP Pro and Premiere Pro CS3.  Supposedly the video just started being jerky the last month or two.  Windows update issue?  I have tried updating the video card drivers (released March 2009) and also changed the Desktop Display to all three options ... Comptable, Standard and GPU.  The video still plays back and exports to tape jerky.  However, if we export to an AVI on the local disk, then pull that video back into an older version of Premiere Pro we can export to tape.
    Any thoughts!?!?!  I have found similar qusetions in other forums, but it seems like no one has an answer.

    It is very common for OS updates to render display drivers obsolete, and most people do not even know that these are installed. If you have tried the most recent driver (replaceing an older one), and not helped, it might be something else.
    The aspect of the video Exporting poorly, leads me to believe that your system might be underpowered, especially in the I/O sub-system. A slow, fragmented, or full HDD can do the same. That would NOT address the warning message, though. That almost has to be a vid-card, or driver issue.
    Also, if your Assets have to be decoded by PrPro, that will tax the system. If you Export as DV-AVI, then the CPU does not need to work overtime on the conversion.
    Please give a complete description of the Assest, especially their CODEC's. Please give a system breakdown, paying special attention to the I/O sub-system (HDD's specs. and all configuration details).
    Good luck,
    Hunt

  • Rendering stops and display an error

    Did anyone have this: Render stops and displays that the file is used by another application. Than I will render again and after a while it displays the same message again.
    And what is the solution?
    Thanks.

    We seemed to have figured out our render error at work. It was caused by the way the IT guys set up or machines to connect to our XServe. Our machines were trying to mount several volumes from the server automatically on login but we (the editors) didn't have access to those folders so we canceled the connection and for some reason it caused a couple of probelms with our software. Once the IT guys disabled the auto-login everything was fine. Not sure if your render problems were from the same cause.

  • Inconsistence with oracle express and toad

    I created two accounts(A and B) under system account under oracle express, then under system, A and B account, I created one table for each account (USER_TABLE) . I can see all three tables from oracle express. But I can't see the tables from toad. Even I can't see A andB schema from toad. Anyone knows what's the problem.
    Thanks,
    -- Allen --

    I think I access to the correct db since there is only one db instance. Only system has the DBA privilege, A and B just regular account. The accounts I created from oracle express should reflect to toad, I can't see them, but I can see HR schema from toad.
    Thanks,
    -- Yu Hu --

  • HT1600 I get the menu and can pick a movie but then it won't load and displays an error message

    I get the menu and can pick a movie but then it won't load and displays an error

    What version of iPhoto do you have installed?  Is if one of the versions shown as not compatible in this screenshot?
    If it is then go to the App Store and download iPhoto 9.5.  It will be free if you have an iPhoto 9 or later verson currently.
    OT

  • Help in retrieveing Blob from Oracle db and display it on a web page

    I am using Sun Studio creator2 and this is what I want to achieve:
    When I click on "Load" button, the image is displayed on the web page(the application is a web application)
    I have dropped the "image" object from the pallette
    Having the database image displayed in the image field, when I enter the image ?Id? and click on the ?Load? button.
    Here is my piece of code:
    public String loadButton_action() {
    HttpServletRequest request = null;
    HttpServletResponse response = null;
    String connectionURL = "jdbc:oracle:thin:@//localhost:1521/cdecentre1";;
    /*declare a resultSet that works as a table resulted by execute a specified
    sql query. */
    ResultSet rs = null;
    // Declare statement.
    PreparedStatement psmnt = null;
    // declare InputStream object to store binary stream of given image.
    InputStream sImage;
    Connection connection = null;
    String driverName = "oracle.jdbc.driver.OracleDriver";
    String dbName = "cdecentre1";
    String userName = "christian";
    String password = "cc";
    String theid = (String)idField.getValue(); //reading the image id
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    connection = DriverManager.getConnection(connectionURL, userName, password);
    /* prepareStatement() is used for create statement object that is
    used for sending sql statements to the specified database. */
    psmnt = connection.prepareStatement("SELECT image FROM CHRISTIAN.PICTURES WHERE id = ?");
    psmnt.setString(1, theid);
    rs = psmnt.executeQuery();
    if(rs.next()) {
    byte[] bytearray = new byte[1048576];
    int size=0;
    sImage = rs.getBinaryStream(1);
    //response.reset();
    response.setContentType("image/jpeg");
    while((size=sImage.read(bytearray))!= -1 ){
    response.getOutputStream().write(bytearray,0,size);
    rs.close();
    psmnt.close();
    connection.close(); } }
    } catch(Exception ex){
    System.out.println("error :"+ex);
    return null; }
    At the moment, when I click on the ?Load? button, the image is not present in the image field.
    I am only obtaining a message inside the message component.
    What should I do to have the image displayed in on the web page?
    Your help will be highly appreciated.

    A comprehensive dissertation from Javaworld: http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html
    Published 05/05/2000, ergo Java 1.0/1 era... still a valid explanation of the problem and the fundamental solution, but take the code (esp ImageIO) from here
    http://blog.codebeach.com/2008/02/creating-images-in-java-servlet.html
       1. package com.codebeach.servlet; 
       2.  
       3. import java.io.*; 
       4. import javax.servlet.*; 
       5. import javax.servlet.http.*; 
       6. import java.awt.*; 
       7. import java.awt.image.*; 
       8. import javax.imageio.*; 
       9.  
      10. public class ImageServlet extends HttpServlet 
      11. { 
      12.     public void doGet(HttpServletRequest req, HttpServletResponse res) 
      13.     { 
      14.         //Set the mime type of the image 
      15.         res.setContentType("image/jpeg"); 
      16.  
      17.         try 
      18.         { 
      19.             Create an image 200 x 200 
      20.             BufferedImage bufferedImage = new BufferedImage(200, 200, BufferedImage.TYPE_INT_RGB); 
      21.  
      22.             //Draw an oval 
      23.             Graphics g = bufferedImage.getGraphics(); 
      24.             g.setColor(Color.blue); 
      25.             g.fillOval(0, 0, 199,199); 
      26.  
      27.             Free graphic resources 
      28.             g.dispose(); 
      29.  
      30.             //Write the image as a jpg 
      31.             ImageIO.write(bufferedImage, "jpg", res.getOutputStream()); 
                        ////////////// NICE !!!! //////////////
      32.         } 
      33.         catch (IOException ioe) 
      34.         { 
      35.            e.printStackTrace();
      36.         } 
      37.     } 
      38. }  Edited by: corlettk on 19/01/2009 23:22 ~~ {color:#FF0000}Never{color} eat an exception!

Maybe you are looking for