LOV in oracle express

Hi!
I want do define a lov like this:
select category, category from demo_product_info
the problem ist that an error appaers that i am not allowed to use the same column-name for display and return-value?!
thx!

Hello,
Have you try alias ?
Select category code, category label From demo_product_info ;Francois

Similar Messages

  • How can I login to Oracle Express Ed 11g Rel 2 on windows XP 32bit?

    I installed Oracle Express Ed 11g Release 2 32bit on windows XP 32bit and I can not login ito it. Installation asked for a password to be created at installation which I used to login with.
    The login window is started from a shortcut that installation created on my desktop. I tried to download and install three times. I went thru a SW removable before another download. The login responds with "Invalid Login Credentials"
    I have admin rights to my PC. What could be the issue?
    Please help.
    Thanks.

    What could be the issue? Could be many different causes. Mistyping the password is one, or the database could be offline but in most cases that will give a different error message. Open a command box, Start/Run/cmd and try:
    $ sqlplus /nolog
    connect system
    ... Password ... <the one used with the installer> ... Connected.
    select name from v$database;
    login window is started from a shortcut If you're talking about the Apex page, the one that opens a web browser to http://<hostname>:8080/apex and that one needs Apex credentials, not database user credentials. Apex users can be mapped to database users but that is something done via the apex administrator.
    Two database accounts "out of the box" are SYS and SYSTEM users, those are special- SYS owns the catalog, SYSTEM is a user with dba role privileges, almost as powerful within the database as the SYS user.

  • How to use unixODBC with Oracle Express on Ubuntu 8.10?

    I downloaded Oracle Express a couple of days ago, so I am totally new to Oracle.
    I tried connecting via unixODBC, using dsn=oracledsn, user=dba, password=abcd and received error info:
    1: st=01000, nerr=0, msg=
    [unixODBC][Driver Manager]Can't open lib '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1' : file not found
    but the shared 'so' library actually does exist at the path above. I also set
    ODBCINI=/etc/odbc.ini;export ODBCINI and immediately checked it was in the environment.
    The .ini files are:
    /etc/odbcinst.ini
    [OracleExpressdrv]
    Driver = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1
    Description = Oracle 10g express driver
    /etc/odbc.ini
    [ODBC Data Sources]
    oracledsn = Oracle Express DSN
    [oracledsn]
    Driver = OracleExpressdrv
    Note: The dsn and the driver names are enclosed within square brackets but came out as web links above in the preview.
    After many hours of googling I have not been able to find how to connect via ODBC to a local (on my PC) Oracle Express.
    Advice would be most welcome.

    hello
    I have the same problem. My system is Fedora 11
    I set the odbcinst.ini and odbc.ini files as you mentioned. I also set the LD_LIBRARY_PATH :
    $ echo $LD_LIBRARY_PATH
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/
    when I try to connect using isql, I get that error:
    [01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1' : file not found
    [ISQL]ERROR: Could not SQLConnect
    I couldn't figure out what I am missing.
    May someone help please?

  • Oracle Express Server v.6.3.1.0 installation problem

    I downloaded oes6301nt.exe - Oracle Express Server - NT (118MB) from the Oracle web site, unzipped it and start using Universal Installer to install it for stage/product.jar. I specified Oracle Home as OraExpress81 and path as F:\Oracle Express\olap and chose a typical installation.
    At about 98% completion, I got an error: Invalid Search Spec or no DLLs found F:\Oracle*.dll on a error meassge box with an OK button. I clicked the OK button and the installation went to 100% and gave me a message "The installatio of Oracle Express Server was successful. I then re-booted the machine.
    But when I tried to run the Express Instance Manager, it wouldn't start. It just blinked for 5 sec then quited.
    I checked the programs, the installed programs are:
    Program -> OracleExpress81 ->Application Development ->INTYPE File Assistant
    NetWork Administration -> Net8 Assistant
    Net8 Configuration Assistant
    Net8 Easy Config
    Express Instance Manger
    Express Server 6.3.0 -> Express Instance Manager
    Express Language reference
    Could you please tell me what could probably be wrong with the installation. Thanks for your help in advance.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Christopher McClellan ([email protected]):
    Is the Express Agent running ?
    Do you have any other Java 'things' on the machine ?<HR></BLOCKQUOTE>
    Chris,
    Sorry, I gave you wrong information eariler.
    I just checked.
    Oracle Express Agent Started Automatic
    Oracle Express Server 6.3.0.1.0 Manual
    OracleOraExpress 81 ClientCache Manual
    OracleOraHome81Agent Manual
    OracleOraHome81ClientCache Manual
    OracleOraHome81DataGatherer Manual
    OracleOraHome81TNSListener StartedAutomatic
    OracleServiceORACLE StartedAutomatic
    OracleWebAssistant() StartedAutomatic
    Those are all the services for Oracle.
    Any suggestions on how to start the Instance Manager ?
    Thanks
    null

  • What are the major differences between oracle 10g and oracle express 10g

    Hi
    Can anyone tell, What are the major differences between[b] oracle 10g and oracle express 10g.
    Or if you know any URL, then please do let me know.
    Advance Thanks
    JC

    Dear sir,
    here it is.
    http://www.oracle.com/database/product_editions.html

  • Problem in installation of Oracle Express

    I have problem in installation of Oracle Express 6
    My problem is that when i click the setup file it doesnt go anyfurther and the computer does not hang even.And even if i try to run the setup file again i get the same response.
    i am installing all this on Windows Server 2000.
    Can anyone help me.

    It's rare to get apps assistance in the database forum. You might have better luck going to 'http://forums.oracle.com' and asking in the appropriate foum. Look for
    E-Business Suite
    Applications Technology
        * •  XML Publisher
        * •  Managing Oracle Applications
        * •  OA Framework
        * •  Install and Upgrade <-------
        * •  More...

  • Oracle Express 10g - cannot install on Windows 2003

    I'm trying to install Oracle Express 10g on Windows 2003. On this machine already works MS SQL2005 server.
    The installation starts ok but after copying files installer disappears whitout any message (in that moment an icon on desktop should be created, but it's not) All files copied first by installer are deleted upon it finishes it's work. From the same package I installed Express on Windows XP and then there was everything ok.
    I checked install log but it didn't tell me much. It looks more or less the same as the log file from succesful installation until bolded line:
    MSI (s) (30:A4) [15:02:44:281]: User policy value 'DisableRollback' is 0
    MSI (s) (30:A4) [15:02:44:281]: Machine policy value 'DisableRollback' is 0
    Action ended 15:02:44: InstallFinalize. Return value 2.
    On successful installation the return value is 1. But it doesn't tell me anything. Also in event logs I got only mssinstaller information (event 11708)
    Product: Oracle Database 10g Express Edition -- Installation operation failed.
    Do anyone experienced such problem?
    Regards,
    Piotr

    You may want to check Event ID: 11708.

  • Oracle Express 6.3.4 on Win2K Install bug

    Downloaded Oracle Express Server 6.3.4 build on Technet. It says its a Maintenance Release, but it needs some fixing itself. The release when 'Typical' installed on clean Win 2K with Oracle 9iR2 and OWB9i, skipping Oracle HTTP server configure, single Oracle_Home, installs successfully. But on rebooting the server, returns a scary entry point message in orb_r.dll, and Oracle Express Service fails to start. When you deinstall Oracle Express, it screws up PATH variable, throwing some apache.exe error, and Oracle HTTP server service not starting. Got the HTTP service going by modifying the oracle_apache.conf, and commenting the modose line. Reinstalling Oracle Express results in same orb_r.dll error. The orb_r.dll is probably some visibroker dll, and is 3.86MB in size, and dated 4/18/2001. Typical, as well as Complete Install, both result in same error.
    And this is after I tried installing the OES 6.3.2. The 6.3.2 build when extracted into a new folder under C:, creates the Setup.exe program, but the program refused to run when double clicked. 6.3.2 never installed, and 6.3.4 doesnt work. Anyone...
    Thanks,
    Steve

    You can find it under the Oracle® Applications 11i Release 10.2 Media Pack for Microsoft Windows at http://edelivery.oracle.com/
    Sam
    http://appstech-sam.blogspot.com

  • Corrupt Data1.cab in Oracle Express 10g Universal  for Windows

    Hello Oracle Folks,
    I downloaded several times Oracle Express 10g Universal for Windows (OracleXEUniv.exe) and tried to install it and I get every time the same error message: "Error 1335. The required file "Data1.cab" is corrupt and cannot be used ...". When I download the Western European Edition (OracleXE.exe) the installation works! I downloaded the file on different local disks to exclude the risk that my disk is damaged.
    Can you please check if this download is sane!
    Thanks and best regards Thomas Mayr

    kalyat wrote:
    Amazing reply Hans.
    I have seen some arrogent smart mouth answers in my time. But this really takes the cake. Also judging from the icon you are some kind of employee of oracle. Wow! Now that shows respect for your users.
    Sorry to disappoint you - I am not an employee of Oracle. Much of your rant is irrelevant.
    I am simply a person who has volunteered enough time to provide over 8,000 repsonses in these forums and many more in other forums.
    Many, many, many of the questions are pure repetition due to the extreme laziness, incompetence or inability to do basic thinking by the questioners. There are also a lot of questions by 'newbies' who have obviously made an attempt to research the problem.
    My approach to answering questions is simple and two-fold:
    - make the person angry enough, or aware ennough, that they will think a bit when asking the next question;
    - if they ask a question intelligently (http://www.catb.org/~esr/faqs/smart-questions.html) I usually am convinced to help.
    (And yes, I do take longer breaks when I find myself being frustrated enough to provide answers like the above.)
    The stupid installation program for your stupid database was supposed to check the version of the Operating System. Anyway how does the operating system version matter if a cab file is corrupted? which was incidently packed in that stupid download link which you have happily given to all customers all this time. I was hoping to find that since you guys are too lazy to make the installation file properly you might have atleast bothered to put up a download link for that stupid Data1.cab. But nooo... The 'stupid installation program' is indeed that - a stupid installation program. It does a certain amount of checking, but definitely not enough. In that I do agree with you. It was also released too early - basrely understands how to spell Vista.
    Also, there is an assumption by Oracle that the person downloading reads the documentation, especially the installation guide, that is available at the same location as the download. It is amazing and extremely disappointing to note how many people will not even attempt to look at the link.
    The real sad part for me is that I frequently download software (and did again in this case) to verify that the user has a legitimate complaint. The 'data1.cab' that I received was not corrupt. Therefore I conclude the original poster made some huge assumption that is likely invalid. Now, I did install into an XP machine, and that could make a difference.
    As for the 'you guys' statement - perhaps you should take that up with Oracle or an Oracle employee. Directing at me is an unsubstantiated assumption on your part. <g>
    >
    I wasted some time thinking I would check out the db for development, got the same error and after seeing your mealy mouthed response to that poor guy who was asking a valid question, I think I won't bother anymore. You see, there is this amazing thing called Linux and MySQL..
    Yup. You could easily go there. Shows yet another assumption. (In fact, my company is centered around Linux and Oracle. And I have made a conscious decision, based on 3 decades of experience, to toss MySQL and stick with Oracle. And now that Sun, which owns MySQL, seems to be on the auction block, the future of MySQL is definitely up in the air.)
    However, given how many assumptions you make and how valid they are, you may find it easier to stick with MySQL. Oracle Express edition potentially could save huge buckets of time and effort in the long run, but it does require reading, research and other skills to get up to speed.
    Now, as to your problem
    1) This is not the forum to discuss issues with installation. (If the problem is traced to the download source, then this is the right spot.)
    2) There is a dedicated forum for Oracle Database 10g Release 2 Express Edition (Oracle Database Express Edition (XE)
    3) You are absolutely correct that the installer should be smart enough to check the OS. It does not.
    4) Since it does not, and since there are differences, knowing which version AND edition of Windows (or which Linux distro and release) is critical to troubleshooting.
    Edited by: Hans Forbrich on Mar 21, 2009 4:32 PM

  • Display blob field image in Oracle Express

    Hi,
    I upgraded the apex in my Oracle express edition to 3.2 and tried to display image in blob field following the step in the Apex tutorial,
    but the error '*The requested operation is not allowed* ' prompt.
    I save the image file in a table with fields mime1,picture1=> blob field.
    I created a problem as follow:
    CREATE OR REPLACE PROCEDURE download_my_file(p_hotel_id in number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    --execute immediate
    --'SELECT MIME_TYPE'||to_char(p_picture)||', picture'||to_char(p_picture)||', '||to_char(p_picture)||',DBMS_LOB.GETLENGTH(blob_content) '||
    --'INTO v_mime,lob_loc,v_file_name,v_length FROM hotels_pic '||
    --'WHERE hotel_id = '||to_char(p_hotel_id);
    select mime_type1,picture1,'test/picture1',DBMS_LOB.GETLENGTH(picture1)
    INTO v_mime,lob_loc,v_file_name,v_length
    from hotels_pic where hotel_id=1;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( nvl(v_mime,'application/octet'),FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment;
    filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    end download_my_file;
    GRANT EXECUTE ON download_my_file TO apex_PUBLIC_user;
    GRANT EXECUTE ON download_my_file TO public;
    I tried display the image by using <img src="#OWNER#.download_my_file?p_hotel_id=1" height=60 width=40 /img>
    But the image don't display...
    if I type http://127.0.0.1:8080/apex/HOTEL.download_my_file?p_hotel_id=1 to display the picture , the error " Forbidden,The requested operation is not allowed" prompt.
    Am I miss out anything? Anyone can help?
    Thanks
    Vincent

    Hi,
    I use a slightly difference code to display images: [http://apex.oracle.com/pls/otn/f?p=267:11]
    It is possible that your GRANT command needs to be for PUBLIC instead of public - some things are case-sensitive.
    Also, have you checked in SQL Workshop, Object Browser, Procedures to see if your procedure is valid?
    Andy

  • PDF generation , FOP and Oracle Express DB

    Am I right in assuming that you can't use the FOP PDF generation utility with Oracle Express Edition Database? i.e. no oc4j directory etc..
    regards
    Paul P

    Am I right in assuming that you can't use the FOP PDF generation utility with Oracle Express Edition Database? i.e. no oc4j directory etc..
    regards
    Paul P

  • How can i store image into blob field in oracle express ??

    Hi
    am using oracle express *(2.1)* , i am devloping a small system , we have to store an image in blob filed in a table, we have to create a form which allow the user to store the image in the table and to generate a report contains the image
    any note's please
    tahnk's in advance
    sam
    Edited by: user485341 on Dec 22, 2008 1:28 AM

    hi Andy
    this is the code for download
    create or replace PROCEDURE download_my_file(p_file in number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, BLOB_CONTENT, FILE_NAME,DBMS_LOB.GETLENGTH(BLOB_CONTENT)
    INTO v_mime,lob_loc,v_file_name,v_length
    FROM A_IMAGES
    WHERE IMAGE_ID = p_file;
    owa_util.mime_header( nvl(v_mime,'application/octet'),FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment;
    filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1)
    ,chr(10),null),chr(13),null)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    end download_my_file;
    thank's

  • How to extract data from dmp file to oracle express edition database

    Hi,
    I wanted to extract a oracle dump file in oracle express edition database. Is it possible? If yes, then can anyone please guide me how to do it?
    Thanks

    Hi,
    This might help
    Backup/Export Question!
    Br,Jari

  • Oracle Express Edition 10g on Ubuntu

    Since I installed Oracle Express edition 10g on Ubuntu 9.04 Linux I have had a problem with gdm and x-server not wanting to start.
    at present working but most times refuses to start.
    I guess that the problem could be that some of /etc/init.d/gdm files are not acessabale as Now there is a oracle user and dba.
    Can anyone help?
    Thanks
    Sam

    Try using another decompressor. Or istall rpm file roller and try to decompress rpm package instead of deb.
    $ apt-get install rpm

  • Oracle Express Server Vs Oracle 10g Express Edition

    Hi Guys,
    I have very basic doubt regarding Oracle Database 10g Express Edition and Oracle Express Server. Is both are same or its different ??
    Actually I am looking into docs of OFA i.e. Oracle Financial Analyzer, and before installing this I need to Install Oracle Express Server (OES).
    Does anyone has any idea on OES
    Thanks and Regards
    JC

    Thanks for clarification, I was suppose to write
    Oracle Application Express (formerly Oracle HTML DB) .Yup. It's pretty easy to get these mixed up. Especially since Express Server and Personal Express (the BI OLAP tools) really have been off the radar for several years, ever since most of the functionality was folded into the OLAP option of the Enterprise Edition.
    So what we have now is "Oracle Database 10g Release 2 Express Edition" with "Oracle Application Express" as a dev/ui tool. And I've noticed that some people are saying calling "Express Server" when they mean "Application Express".

Maybe you are looking for

  • Multiple apple tv's simultaneously playing on the same network and account

    I have an office with 10 apple tv's hard wired to a router.  We play different movies in each room.  Randomly, different apple tv's will say they cant find the movie library?   Could there be a problem with the way they are being shut down or the way

  • SWF insert shows clear border in Safari, but not IE

    Hi... I'm trying to fit a Flash project into my HTML page perfectly between images without borders to look like one big image.  It looks perfect in IE, but not safari. I've spent hours researching but can't find a fix.  When I insert an SWF file into

  • Follow up questions from I/PM 11g webcast

    Q: Is there a replacement for AWSER since it is discontinued? Yes I/PM 11g has URL tools: http://download.oracle.com/docs/cd/E15523_01/dev.1111/e12784/co10_url_tools003.htm Q: Is Internet Explorer 8.0 supported? Yes - see the I/PM 11g certification m

  • Getting instance id

    Hi All, Can somebody tell me how i can get instance id of a particular bpel instance just invoked. I'm aware of 2 options : using ora:getInstanceId() in the bpel process and using locater class to get the handle of the instance. Is there any other wa

  • Realtime machine time calculation in PISheet

    Hi , When enter confirmation in COR6N they system automatically recalculates the machine time depending on the value we enter in the yield field. I want to achieve the same functionality in PI sheet also. Currently, I have copied the PH_CON  PI categ