Starting SQL PLUS in Oracle 9i

Hi All,
I have Oracle 9i installed.
I can login to SQL PLUS by User name : scott Password : tiger
It shows me the prompt SQL>
What is Host String? And what value or characters is supposed to be entered there.
Nisarg Sutaria

Global database name is : matrix.neo
so SID : matrix
now if I give Host String : [email protected] (It does not work)
if I give Host String : matrix.neo (It does not work)
If I give Host String : matrix (IT WORKS)
It shows SQL> prompt.
Let me know if I am correct.
Nisarg

Similar Messages

  • Problem in starting SQL*PLUS in oracle database 10g

    Hi
    Well I am facing one problem while starting SQL*PLUS in oracle database 10g
    ERROR - "Procedure entry point longjmp could not be located in dynamic link library orauts.dll"
    This has happened when I installed Oracle Database 11g on same machine and when I deinstalled Oracle 11g then SQL*PLUS is started...no error came
    Can anybody tell me the reason please...

    hi
    pls im having the same problem but in my own case i installed oracle apex using 11g.
    im env variable is:
    C:\Oracle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\app\Xty\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
    pls which is my apex_home so i can interchange it?
    i also have oracle 10g client installed

  • Can not start SQL Plus

    Hi friends
    I have installed oracle 9i on windows XP successfully.
    I can't start SQL plus, i am typing scott as username and tiger as password then it gives me TNS protocol error.
    Please help me, how shall I fix this problem.
    Thanks
    Harish

    the service might not exist yet in the services panel. you'll have to execute the following command from the server where Oracle is installed:
    c:\> lsnrctl start
    You should receive a series of messages about the listener starting. Then re-check the services as described above and you should see it there.

  • [0098]SQL*Plus encountered oracle error 100 while executing SQL Statement

    Hi,
    i'm trying to delete duplicate records from a table and running following script. this script is triggered from a unix script. it successfully deletes the records but in the last throws following error message,
    :[0098]SQL*Plus encountered oracle error 100 while executing SQL Statement:2:Investigation required:
    can anybody please help? below is the script.
    DECLARE
    --CURSOR FOR DUPLICATE ROWS
    CURSOR CUR_DUPLICATE_ROWS IS
    Select RMS_NOTE_ID, RMS_SUMMARY_NOTE_ID, count(*) cnt from PARTY_NOTE
    group by RMS_NOTE_ID,RMS_SUMMARY_NOTE_ID having count(*) > 1;
    var_date PARTY_NOTE.PARTY_NOTE_CREATED_DATE%TYPE;
    BEGIN
    FOR DUPLICATE_ROWS_REC IN CUR_DUPLICATE_ROWS
    LOOP
    delete from party_note
    where RMS_NOTE_ID= DUPLICATE_ROWS_REC.RMS_NOTE_ID
    and RMS_SUMMARY_NOTE_ID= DUPLICATE_ROWS_REC.RMS_SUMMARY_NOTE_ID
    and rowid not in (select max(rowid) from party_note
    where RMS_NOTE_ID= DUPLICATE_ROWS_REC.RMS_NOTE_ID and RMS_SUMMARY_NOTE_ID= DUPLICATE_ROWS_REC.RMS_SUMMARY_NOTE_ID);
    commit;
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    ROLLBACK;
    END;

    Try this:
    delete party_note
    where  rowid not in (select max(rowid)
                         from   party_note
                         group  by rms_note_id, rms_summary_note_id
    commit;No need for cursors and loops.
    And when that's completed, consider ALTERing the table to add a unique index (or even a primary key) so you'll never need to do this again.

  • SQL*Plus with Oracle 10g Express Edition

    How Can I do to log in using SQL*Plus into Oracle 10g?
    My Schema is: Banco.Global
    My Password is: 111111
    I need to write SET SERVEROUTPUT ON to get answer?
    I opened the Prompt, but i don't know to log in.
    Thanks and my english is not as well as you.

    If i write:
    SQL>connect "Banco.Global"/111111
    a error message is raised: Invalid username/password; logon denied
    but if I log in into Home Page with the same Username and Password, I get to log in.
    There is difference to connect SQL*Plus and the connect with Home Page the Oracle?
    I need to connect with SQL*Plus, because i need to make a test.

  • Why Start SQL*Plus with /nolog

    What is the difference between starting SQL*Plus as in
    sqlplus sys as sysdba
    versus
    sqlplus /nolog
    connect sys as sysdba
    I can imagine that the second method prevents some log file from being written but sometimes logs are useful. Is there more to it than that?
    Thanks,
    Gregory

    It's really interesting to see how a question like this gets answered. Some of what you've been told is true, some not, and most of it is a red herring...
    First, using /nolog (as has been correctly stated) has nothing to do with logging. It means "start sqlplus but don't log on to any database just yet"
    Second, its user or lack of has nothing to do with connecting as sys, as sysdba, or any other special connection. It means, simply and only, "start sqlplus but don't log on to any database just yet"
    It has nothing to do with the ability to run a sql script.
    It has nothing to do with your ability to supply a password.
    One reason to use it in a *nix environment is to be able to hide the userid and/or password from someone querying processes.  As was hinted at, if someone performs a 'ps -ef', they will see the full command line that started the processes.  So, if you start with
    $>sqlplus system/manager
    a ps -f will show the username and password.
    If you start with
    $>sqlplus system
    you will be prompted for password and ps -ef will show the username, because it was on the command line
    If you start with
    $>sqlplus /nolog
    Then supply the username and pswd manually (or in a script), then ps -ef will only show that sqlplus is running, but will not reveal anything about the credentials used.

  • SQL*Plus and Oracle

    Hi, i have recently started a new course where i am required to learn sql using the sql*plus program and several books. I have downloaded the instant client and the sql*plus program so that i can run them on my computer at home so i can learn at home. However i get a problem where i cannot logon to sql*plus.
    I believe this may be because i do not have an oracle server running on my pc, i am however not sure, would be gratefull for any help.

    Yes, you will need an Oracle Server to connect to. On your personal system, you can download Oracle XE (Express Edition) from OTN and use that. It contains both the server and client (SQL*Plus) components.

  • Problem running SQL PLUS in Oracle 8i and 9i on Windows XP

    I've tried installing both Oracle 8.17 Personal Edition and also 9i in Windows XP Professional (each on a different occassion). I have run into the same problem each time. The installation itself goes fine in both cases, but when I run SQL PLUS, the Log On screen appears for 1-2 seconds then whole thing just closes automatically, so I can't ever access that application which is the only thing I need to work with. Any ideas on what's going wrong? Thanks.

    Patrick,
    Well a few things. Did you try TNSPING to see if the listener is up? If it's ok, can you connect with FREE toad? Download Oracle OEM and install that (the SQL net and sql plus portions). If you can't get tnsping to work, sqlplus isn't going too either. I don't know why the sqplus is actually shutting down, but I'm guessing the TNS NAMES entry isnt there (in the tnsnames.ora file). If the tnsnames entry is there then tnsping should work. Get tnsping to work first.
    Tyler.

  • Request: enable use of sql*plus via Oracle Instant Client.

    hi,
    great project....
    I've just installed Raptor release 3 on top of oracle instant client, and it seems to be running fine. my sql*plus from the instant client functions from the command line, but the sql*plus menu item in the tools menu is grayed out.
    review of the help files say's that oracle_home must be set, but instant client does not need an oracle_home. (uses tns_admin instead).
    is there a work around for this? (other than loading the full oracle client w/ it's sql*plus)
    thanks
    GT

    The SQL*Plus menu item does not seem to be correctly detecting the current connection context. I'm filing this as a bug to be fixed before we ship. In the current version, however, you can enable the menu item by ensuring first that the connection is selected in the Connections navigator.
    When the menu is invoked, you will be prompted for the location of the SQL*Plus executable. On Windows, this should just be the path to sqlplus.exe (or sqlplusw.exe). On Unix platforms, you should include 'xterm' or an equivalent in order to ensure that SQL*Plus invokes in a window.
    - John
    Raptor Development Team

  • SQL Plus in Oracle 10g XE -

    How can i works in oracle 10g XE using the SQL Plus.
    When I try to connect, show-me and error.

    After installing XE … poke a little in the file system directory where you installed.
    In the “bin” directory you’ll find the “sqlplus” executable. In the “network/admin” directory you’ll find the “tnsnames” file with a service name by the name of “XE” configured.
    So, as long as you hit that tnsnames file and connect with an unlocked user you should be OK.
    sqlplus user/pass@XE
    Potential problem … you have some previous Oracle Client installation and you hit the “tnsnames” file from there … you could add the XE configuration there too. Or use environment variables to switch over to the XE installation.
    Try a “tnsping XE” and see what is says.

  • SQL*Plus and Oracle 9i Lite

    What is the trick to connecting to Oracle 9i Lite using SQL*Plus?
    I am using the following:
    Username: system
    Password: aaa
    Host String: ODBC:POLite
    I recieve an ORA-12203: TNS:unable to connect to destination: Function not performed
    do I need an entry in my tnsnames.ora file? If yes what? Also, if yes, where in the docs is this discussed?
    Thanks in advance

    Try format
    ODBC:POLITE:datasource
    for Polite:
    ODBC:POLITE:POLITE
    But since 4.0.1 Oracle Lite you can't use SQL plus.
    Use new tool named msql (<ora home>\Mobile\SDK\BIN\msql.exe) or SQL Worksheet in Oracle9i JDeveloper.

  • Cannot log in to SQL Plus on Oracle 8i

    Hi,
    I have Oracle 8i (8.1.6) Client installed on windows 200 professional. I donnot connect to any servers, and I want to use the SQL Plus module, but I have trouble to login SQL plus, and I an get error message:
    ORA-12560: TNS:Protocole adapter error.
    Would you please let me know what they are supposed to be: username, password and host string ?
    Am I using the correct version, or I have to use the personnal edition, and if so I have Oracle 8i personnal edition, but it is not working with 2000, is there a patch file or do I have to download the 2000 version.
    Thanks a lot in advance.

    The default logins for Oracle8i are:
    SYS/CHANGE_ON_INSTALL
    SYSTEM/MANAGER
    SCOTT/TIGER
    If you are connecting to the default database, don't enter anything in the Host String area. If you are connecting to a remote database, you will need to set up Oracle Net on your machine to connect to the remote database (tnsnames.ora file).
    Do you have a database to connect to? You have installed the Oracle8i Client, which should be used to connect to remote databases (on other machines). If you don't have a remote database, you should install the full Oracle9i Server component, not just the Client.
    The Oracle8i Personal Edition includes a cut-down version of the Server and the Client, and I think this is what you should be using if you don't have a remote database to connect to.
    Personal Edition Version 8.1.6 is now desupported, but was certified against Windows 2000. Personal Edition Version 8.1.7 is still supported and is also certified against Windows 2000.
    Alison

  • URGENT - cannot log in to SQL Plus on Oracle 8i

    Hi, I have Oracle 8i (8.1.6.0.0) installed on windows 98.
    I want to use the SQL Plus module, but I have trouble to login SQL plus, and I an get error message:
    ORA-12560: TNS:Protocol adapter error
    I supposed the default username and password as follows:
    SYS/CHANGE_ON_INSTALL
    SYSTEM/MANAGER
    SCOTT/TIGER
    Am I using the correct version or edition (which I also don't know which edition)? Does windows 98 supports SQL Plus?
    I was told to set up a database by selecting database administration then follow by database configuration assistant (in order to use the SQL Plus, firstly a database have to set up). I'm not sure whether this is true? but inside the database administration I don't have the so call "database configuration assistant". Can someone please help me?
    Thanks a lot in advance!

    I hope you can help, I'm in the same boat as the others who cannot log on to the SQL* using Oracle Personal Edition 8
    I'm running on 98, and everytime I try entering SYS as username & CHANGE_ON_INSTALL as password, or SYSTEM as username & MANAGER as password; I get:
    ORA-01034: ORACLE not available
    ORA-27101: Shared memory realm does not exist
    I've been trying for a number of days, and have created databases using the Database config assistant, and everytime, it gives me the details as SYS CHANGE_ON_INSTALL etc, but it still doesn't let me log into SQL*
    Any help would be gratefully received,
    Patrick

  • Starting Sql Plus

    I have installed the oracle Xe in my computer, but when I open the sql shell and begin to input some commands, the shell says to me that I have to connect...
    My question is, Where do I have to connect?, besides I want to connect locally..
    Thanks..

    for example ;
    SQL> conn sys/<your_passwd> as sysdba
    or
    SQL> conn hr/<your_passwd>
    also documentation may help -> http://download-uk.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/connecting.htm#sthref73

  • Cant Start Sql*Plus Session

    I just installed Oracle 8.1.6 on Rehhat 6.2 Linux but when I try to start sqlplus after entering username and password, I get the error: ORACLE initialization or shutdown in progress
    null

    If you got the SVRMGR> prompt with no errors when you started it you should then enter
    connect internal
    if it asks for a password try oracle
    SHUTDOWN NORMAL
    SHUTDOWN IMMEDIATE
    will shut down the currently running Database.
    and
    STARTUP
    should get it going. But be sure you have done what you need to set three important system variables.
    ORACLE_HOME
    ORACLE_SID and
    PATH
    With out these you won't be able to start sqlplus and svrmgr won't operate. You will see errors in both like
    If the SID is wrong you will get that the Service name is incorrectly specified.
    If PATH and HOME are incorrect You will get a message that it can't find a message file.
    null

Maybe you are looking for