Errors in simple query in oracle 9i personal edition

hi,
i have oracle 9i personal edition release 9.0.1.1.1 - production.
with it came sql*plus release 9.0.1.0.1 - production
i have installed it on windows 98SE
what i did is the following
step 1:
create type address_ty as object
(street varchar2(50),
city varchar2(50),
state char(2),
zip number);
when i executed i got message "type created"
step 2 :
create table customer
(cust_id number ,
person address_ty);
when i executed this i got message "table created"
step 3 :
insert into customer values
(3,address_ty('xyz','abc','AP',4563));
i get messsage "1 row created"
step 4 :
select cust_id,person.street from customer;
i get error message .......
select cust_id,person.street from customer;
ERROR at line 1:
ORA-00904: invalid column name
i tried this example from the book "Oracle Complete Reference" from oracle press.
what is the problem how to avoid it.
i am a beginner help
gopal

hi! i'm not very sure, but your second field selected is person.street, do you have this field?
why not try just select * from tablename, you should see the result.
hope that helps.
rgds.

Similar Messages

  • Receiving error when trying to install Oracle 8i Personal Edition

    I'm trying to install 8i personal edition, and the installer is attempting to use this file as the stage file: D:\stage\products.jar. I can only assume its corrupt. Can anyone help me?
    Steve

    The error message I get on the install is, "INVALID STAGING AREA. NO TOP LEVEL COMPONENTS FOR WINDOWS 95 AVAILABLE FOR INSTALL." The install is using C:\WINDOWS\TEMP\INSTALL\STAGE\ PRODUCTS.JAR, which is where the UNZIP placed the components. The 8i Personal Edition I downloaded was for Windows 98, so I don't understand why it's looking for Windows 95 components. Also, I have Windows ME, not Windows 98, but I assume this download should work for Windows ME?

  • Error when trying to configure Oracle 10g Personal Edition

    seemingly task is never ending. request oracle to make better products.
    Here is the error message I get when attempting an install on a Windows XP Professional laptop.
    Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
    Any ideas????

    Dunno. Sounds firewall related though.

  • Oracle 9i Personal Edition

    I REALLY need to get this installed, see previous message below. Can anyone help.

    I downloaded Oracle 9i Personal edition from Oracle.com.
    Installed the same on Win Me with a starter database.
    I am not able to open the database since it asks me to enter a password which i've never entered.
    I am not able to create a session. The moment I try to create a session on SQL, the database starts opening but i cannot get further since it asks for the password.
    Please Help. Try using the generic username of scott & the generic pw of tiger. Hope this helps Hi,
    Try this from dos prompt
    c:\> set oracle_sid=<sid_value>
    c:\> sqlplus system/manager
    Can you elaborate what you meant when you say "the database starts opening" ? What is the error number and error message you are getting?
    HTH

  • Oracle 8 personal edition - Installation problem

    Dear Sirs,
    I want install on windows xp the database Oracle 8 Personal Edition.
    I select to install only the database standard without the reply.
    Start the installatin and when dependency analysis oracle give the error:
    stopsrvc.vrf{78}: Type mismatch in argument '0' when calling 'contains'
    stopsrvc.vrf{78}: 'STRING' expected when 'LIST' found.
    Can you help me?
    I know that this version of DB is not supported. But I must a test.

    This combination, to my knowledge, was never certified. If I am not wrong, you need to find a Windows 98 SE/2000 setup for running this personal edition successfully.

  • PL/SQL does not work in Oracle 8i Personal Edition

    I just installed Oracle 8i Personal Edition for Win 98. Everything works perfectly, except the PL/SQL.
    Then I tried to install Oracle 8i EM, but I always get the listener or adapter error. Even when I tried to start the listener from lsnrctl prompt, it gives me those errors. Anyone can help?

    You need use correct type when you create object.
    Don't forget object in reality is a memory pointer,
    so what if you don't allocate correct memory in creation,
    you can't treat object as subtype.
    And meanwhile, it doesn't depend on Oracle version -
    your example doesn't work in 9.2.0.1 for example.
    SQL> declare
      2  super one_t;
      3  sub two_t := two_t(1, sysdate);
      4  begin
      5  super := two_t(1, sysdate);
      6  sub := treat(super as two_t);
      7  dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
      8  select treat(super as two_t) into sub from dual;
      9  dbms_output.put_line('super ' || super.x || ' ' || super.y );
    10  if sub is null then
    11  dbms_output.put_line('stupid');
    12  end if;
    13  if sub is of (two_t) then
    14  dbms_output.put_line('stupid');
    15  end if;
    16  end;
    17  /
    sub 1 08.06.05
    super 1 08.06.05
    stupid
    &nbsp
    PL/SQL procedure successfully completed.Rgds.

  • Unable to start listener in Oracle 10g personal edition

    Hi all,
    I am trying to start the listener on my Oracle 10g personal edition. I tried this from Windows' Administrative Tools' and then 'Services'. I also tried it from the Command line. Both methods fail. Here are the error messages for each method:
    In 'Services' in Windows:
    The OracleOraDB10g_home1TNSListner service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service. In 'Command Line':
    D:\oracle\product\10.2.0\db_1\BIN>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 23-MAY-2012 09:47:02
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    System parameter file is D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ABCDEFG)(PORT=1521)))
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
      TNS-00512: Address already in use
       32-bit Windows Error: 48: Unknown error
    Listener failed to start. See the error message(s) above...
    D:\oracle\product\10.2.0\db_1\BIN> Any ideas have this issue could get resolved.
    Thank you in advance,
    Seyed

    Seyed_G wrote:
    Hi all,
    I am trying to start the listener on my Oracle 10g personal edition. I tried this from Windows' Administrative Tools' and then 'Services'. I also tried it from the Command line. Both methods fail. Here are the error messages for each method:
    In 'Services' in Windows:
    The OracleOraDB10g_home1TNSListner service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service. In 'Command Line':
    D:\oracle\product\10.2.0\db_1\BIN>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 23-MAY-2012 09:47:02
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    System parameter file is D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=W99X01G4R08B1.okdhs.int)(PORT=1521)))
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
    TNS-00512: Address already in use
    32-bit Windows Error: 48: Unknown error
    Listener failed to start. See the error message(s) above...
    D:\oracle\product\10.2.0\db_1\BIN> Any ideas have this issue could get resolved.
    Thank you in advance,
    SeyedHas Windows Service for Listener been successfully started & running now?

  • Oracle 9i Personal Edition Lean Install

    I want to install Oracle 9i Personal Edition on a Windows Box(NT/2000/XP). I would like to make it as lean as possible (ie. minimal disk space, minimal services, etc). The databases deployed on this would have tables, procs, functions, views, packages, sequences, users & roles. Any tips on how to minimize what is installed? tia.

    I downloaded Oracle 9i Personal edition from Oracle.com.
    Installed the same on Win Me with a starter database.
    I am not able to open the database since it asks me to enter a password which i've never entered.
    I am not able to create a session. The moment I try to create a session on SQL, the database starts opening but i cannot get further since it asks for the password.
    Please Help. Try using the generic username of scott & the generic pw of tiger. Hope this helps Hi,
    Try this from dos prompt
    c:\> set oracle_sid=<sid_value>
    c:\> sqlplus system/manager
    Can you elaborate what you meant when you say "the database starts opening" ? What is the error number and error message you are getting?
    HTH

  • Cannot install Oracle 8i (Personal Edition) 8.1.7 on Windows 98 (Second Edition)

    Hello,
    I am unable to install Oracle 8i Personal Edition on my Windows 98 (Second Edition) system. I have selected "typical" install. All the files get installed (100% complete) but then the Configuration Tool install phase fails to complete when installing Oracle Database Configuration Assistant. I get the following error message :
    java.lang.NullpointerException
    at DropOracle.QueryDB(Compiled Code)
    at DeletePanel.InitControls(Compiled Code)
    at DeletePanel.<init>(DeletePanel.java:100)
    at DBCreateWizard.<init>(DBCReateWizard.java:569)
    at DBCreateWizard.main(DBCreateWizard.java:1422)
    The system just hangs with the "in progress" message.
    The previous step -
    The Net8 Configuration Assistant install completes successfully
    (return code 0).
    If anyone can help me resolve my problem it will be greatly appreciated.
    Or if you could tell me which Oracle email address (or phone number) I should address my problem to it will be appreciated. I do NOT have a Oracle Support Licence (I only purchased the evaluation CD pack).
    I have installed Java 2 (JDK 1.3) in a separate directory - but I understand Oracle 8i has its own version of JRE 1.1... in its own subdirectory structure ... so my JDK 1.3 should not be interfering with the Oracle 8i installation programs.
    Many thanks in advance.
    Partha Sur
    732-873-2547

    What is your RAM? I ran into the same problem, even though I had more RAM then required. I had to shutdown everything, make a very basic wallpaper that did not put too much strain on the system, then it installed.
    Unistall Oracle, remove all the remaining files and the directory by hand. Also you have to remove any trace of Oracle in your regedit. Check if path to Oracle is still in autoexec.bat; if it is delete it - the Oracle path not the file. Reboot and then do Alt-Ctr-Del and turn off all the unecessary programs and try installing it again.
    Hope it works.
    Iwona

  • Oracle 8i Personal Edition Installation on Windows ME

    Hi,
    I am assuming that Oracle 8i Personal Edition for Windows 98 will work on Windows Me too. First of all, is this assumption valid ? If yes, then I am facing a problem right at the start of the installation. After specifying the File location path (For source path, the default is 'C:\Program Files\Oracle\STAGE\products.jar'. I have not changed this. For destination path,(oracle home path), I am specifying it as 'C:\Program Files\Oracle'. After this I get an error as follows - 'There was a problem in accessing the staging area. Please make sure the specified values for 'Source' and 'Destination' are valid.'
    I am stuck up at this point. Please let me know what could be the problem.

    I had this same problem with this same installation on ME. After a smooth installation with PO 8, I suspected spaces in path names, since the 8i install appears to be java based. If you go into windows regedit (Win ME does not read from autoexec.bat), and search for oracle home, and all 'home' paths you have tried specifying in the initial 8i install interface, upon editing your oracle home path, you may find a space character discreetly tucked at the end of that path name. What's more, just correcting your paths through regedit may only temporarily solve your problem. Also search/correct your prompt. A quick verification of this is if, from a dos window, your prompt looks like:
    C:\> _
    (notice the space between the > and _ characters) I think this is either a MS bug, or an image disk install bug, and suspect, after reading of your same problem, it comes from MS.
    Hope this helps,
    KJ
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Anjali Vipinkumar ([email protected]):
    Hi,
    I am assuming that Oracle 8i Personal Edition for Windows 98 will work on Windows Me too. First of all, is this assumption valid ? If yes, then I am facing a problem right at the start of the installation. After specifying the File location path (For source path, the default is 'C:\Program Files\Oracle\STAGE\products.jar'. I have not changed this. For destination path,(oracle home path), I am specifying it as 'C:\Program Files\Oracle'. After this I get an error as follows - 'There was a problem in accessing the staging area. Please make sure the specified values for 'Source' and 'Destination' are valid.'
    I am stuck up at this point. Please let me know what could be the problem.<HR></BLOCKQUOTE>
    null

  • Oracle 9i Personal Edition for Windows 98

    I am having problems installing Oracle 9i Personal Edition for Windows 98. The install is hanging at the same place every time.
    The installer works fine, but at the end of the install, when the Oracle Configuration Assistant tries to create the new database, the system "hangs". On a Gateway PC, there were fatal exceptions about VxD and vVMM. I finally had to power down the PC. I tried again and got the same error.
    On a Compaq PC, when the Configuration Assistant started, it tried to access my floppy drive and opened a console window with "Abort, Retry, Fail". I chose "Abort" and the configuration continued, but the system hung when trying to start the Oracle instance.
    I am evaluating different software packages and need to install Oracle in order to test them.
    Thanks for your help.

    if you go to iSelfSchooling.com, you will find Oracle Installation Issues on Windows. It gives a list of "default usernames and passwords" and also states that you can leave the HOST name blank to get at the starter database.

  • Oracle 8i Personal Edition

    I NEED to download Oracle 8i Personal Edition. Obviously, it's been yanked from the site. Are there any other places I can download this? Or any other places I can get a hard copy. This is extremely urgent! Someone help, please.

    Here you can still find the software you are looking for:
    http://otn.oracle.com/software/htdocs/devlic.html?/software/products/8i_personal/htdocs/winsoft.html

  • Problems facing while installing Oracle 8i personal edition under win98se

    hello,
    I am having problems while installing Oracle 8i personal edition
    under win98se.
    I am stuck on the creation of database. it always stuck at 85%.
    I've try installed many many times.. but it still the same..
    what can i do?
    i am using win98 se.
    is there any solution for this problems?
    thanks~!

    Under Win 98SE (Personal Oracle 8i)creation of database - very
    long. Therefore choose a mode of creation of base - copy from CD.
    Then the base can be increased.
    Best regards - Alex

  • SQL Plus not working in Oracle 8i personal edition

    I just installed Oracle 8i personal edition, went through all the steps. When I start SQL* Plus, I give it the SCOTT/TIGER combo, but when it tries to start up the database, it asks for another password, which I can't figurew out.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Meyer ([email protected]):
    I just installed Oracle 8i personal edition, went through all the steps. When I start SQL* Plus, I give it the SCOTT/TIGER combo, but when it tries to start up the database, it asks for another password, which I can't figurew out.<HR></BLOCKQUOTE>
    Fixed the problem yesterday.
    null

  • Oracle 9i Personal Edition Download Problem

    Hi there,
    I'm currently attempting to download Oracle 9i Personal Edition, however upon clicking on the file link, I'm being constantly presented with the login page (even after having logged in). I checked my browser (MSIE 6) and cookies are enabled. Trying the same procedure for other files yielded the same unsuccessful results. Can anyone help please (my username is [email protected]). Thanks in advance!
    Regards,
    Johan

    Download it again. I had the same problem the first time. It happens when there is a problem in your internet connection. The second time I downloaded it, it worked fine.
    Hope this helps.

Maybe you are looking for