How I can run SQL*PLUS?

On my notebook is instaled Oracle Client and Oracle SQL Developer. It is working correctly. I can connect to the Oracle DB on the Unix server so that my tnsnames.ora is correctly. But I don't know, how I can start SQL*PLUS on my client machine.
Thanks in Advance :)

hello
did you mean to connect only to SQL * or to connect as sysdba?
if your anwser is to connect only as normal user, then follow the above
but in case you are looking to connect to the database server (Linux) from your laptop you have to connect to the server firest as root or the db user,
then you can access oracle sql plus using terminal such as PUTTY (search in google it's free) look at this:
[applprod@applprod 9.2.0]$ pwd
/d01/oracle/proddb/9.2.0
[applprod@applprod 9.2.0]$ sqlplus
SQL*Plus: Release 9.2.0.6.0 - Production on Wed Oct 10 13:46:18 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name:
Now what do you think?
if you are looking to connect as sysdba, i think must from the termianl
Regards
Mohamed Tawfik

Similar Messages

  • 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.

  • Concurrent manager encountered an error while running sql*plus for your concurrent request create internal order

    Hi
    We have a big problem, We can't create internal orders, when I run the CREATE INTERNAL ORDER, it finish with ERROR:
    Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 134980682.
    Review your concurrent request log and/or report output file for more detailed information.
    this is the log:
    +---------------------------------------------------------------------------+
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    POCISO module: Create Internal Orders
    +---------------------------------------------------------------------------+
    Current system time is 26-JUL-2013 09:21:09
    +---------------------------------------------------------------------------+
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    Begin create internal sales order
    Updating Req Headers
    14 Reqs selected for processing
    Top of Fetch Loop
    Source Operating Unit: 82
    Selecting Currency Code
    Currency Code : MXP
    Selecting Order Type
    Order Type ID:1001
    Selecting Price List from Order Type
    Deliver To Location Id: 196
    Inserting Header : 3908784
    Getting the customer id
    Getting the customer id: 15334
    Unhandled Exception : ORA-01403: no data found
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 134980682.
    Review your concurrent request log and/or report output file for more detailed information.
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    78
    Output is not being printed because:
    The print option has been disabled for this report.
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 26-JUL-2013 09:21:14
    +---------------------------------------------------------------------------+
    Some suggestion for resolve it??
    Thanks & Regards.

    In the document 294932.1 Section 4 there are no pre-installation patches or update for OS RedHat LinuxAS4.
    When I type echo $LD_ASSUME_KERNEL it doesn't display any value so do I need to set the LD_Assume_Kernal value manually.
    If yes, please let me know the path and command to set the kernel value.
    Thanks
    Amith

  • How to find GUI SQL*Plus command tool in Oracle 8i (version 8.1.7)

    I had installed Oracel 8i Enterprise Edition (version 8.1.7) on my server machine (Windows NT 4.0), I'd like to use Oracle Navigator (GUI SQL*PLUS command tool), but I can not find it from the menu. I know Oracle Navigator is available in Oracle 7. Can anyone tell me where and how to use GUI SQL*PLUS command tool in Oracle 8i Enterprise Edition (version 8.1.7) ?
    thanks a lot.
    David Zhu

    Hi
    Oracle Navigator is part of Personal Oracle7 and Oracle Lite. I don't know is it available in 8i Personal Edition but I am sure that it is not part of Standard and Enterprise Edition.
    Regards
    null

  • UserId/Password Not Given-expected to run SQL Plus

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    I downloaded Oracle 9i and I'm trying to run SQL Plus and its asking me for a userid, password and a host string. I don't know what the userid, password or host string would be. I wanted to see how I like Oracle for a database and just wanted to enter some SQL.
    How will I know what the userid, password, host string would be?
    - Server name = none
    - Filename = none
    - Date/Time 2/8/02
    - Browser + Version = Internet Explorer
    - O/S + Version = Windows 20000
    - Error Msg = invalid userid/password

    could you please suggest what could be the reasonYou are running Oracle on an unsupported operating system (Vista Home premium). You either need to change the OS or use the package meant for Windows Vista.
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10203vista.html

  • Is it possible to run SQL*Plus with Putty?

    Hello everybody,
    I've just installed Oracle 11g on Windows Vista. When I click on SQL*Plus it opens the program in the default windows command line. I don't really like the look and feel of cmd. I would like to know whether it is possible to run SQL*Plus in a more advanced/user friendly environment such as Putty terminal client.
    Thanks in advance,
    Dariyoosh

    Kamran Agayev A. wrote:
    user8747515 wrote:
    Windows Command Line is ace! Arrow Up & Down to retrieve commnads... you don't get that (not without a rubbishy workaround) in UNIX!You can solve this issue using rlwrap package. See my vide tutorial
    http://kamranagayev.wordpress.com/2009/07/04/using-rlwrap-to-get-command-lines-history-in-sqlplus-video-tutorial/
    Dear Kamran,
    Thank a lot for this nice presentation, I had also this problem (no command history) under linux. This package is really interesting.
    Kind Regards,
    Dariyoosh

  • How we can run Oracle Batch Manager in Oracle Sales Analyzer

    Hi,
    Please guide me how we can run Oracle Batch Manager in Oracle Sales Analyser.
    Best Regards,

    You cannot run Batch Manager directly from within the OSA Administrator or Analyzer clients. Batch Manager has its own GUI client that can be used the define and schedule jobs, however, it also possible to run and montitor jobs via command line as well.
    The documentation helps explain this:
    http://download.oracle.com/docs/html/A92106_01/batch.htm
    Does that help?
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • When we run depreciation we miss one asset, after that how we can run depre

    hi gurus
    when we run depreciation we miss one asset, after that how we can run depreciation for that asset

    hi
    In "AFAB"yes we can do it by selecting the  option List Assets and repeat then run the programme you should get the result.
    rajan.

  • How I can run WRT54GSv5v6_v1.52.0_fw on windows XP

    I Have trouble to run this file on my Windows XP it says that is a .bin file  how I can run this file with?

    Not at all. This is the firmware file. You have to upload it to the router. Please see here for more instructions how to upgrade the firmware on your router.

  • How do i get sql plus to start in something other than command prompt?

    I have just installed oracle 11g enterprise addition. I am use to a different type of editor for the sql plus, the one I am use to comes up in a white area and has drop downs for file, tools, spool, help and so on. You can also open notepad with a shortcut. I like this better than command prompt how do i get this?

    I think you mean sqlplusw.exe which is a Windows executable delivered until Oracle 10.2 but no more delivered with Oracle 11g.
    Mayb you can have a look to SQL Developer http://www.oracle.com/technology/software/products/sql/index.html

  • How to exit from SQL PlUS

    HI,I came to know that direct exit from SQL Plus without Oracle shutdown causes future issues of ORA-0600 kind of errors. Is it true? If yes could u pls suggest me how to shutdown from user "SYSTEM/manager". Bcoz with this am warned that I dont have previleges.

    Hello,
    HI,I came to know that direct exit from SQL Plus without Oracle shutdown causes future issues of ORA-0600 kind of errors. Is it true?The ORA-00600 is an internal error it can be caused for instance by a Bug, a corruption, ... , and if someday you experience this kind of error, you should open a Service Request to My Oracle Support.
    However, I've never heard that exiting sqlplus could cause this kind of error. Where did you get such information ?
    how to shutdown from user "SYSTEM/manager". To shutdown the database you should be connected with the User SYS (as SYSDBA). You may use the following statement:
    sqlplus /nolog
    connect / as sysdba
    shutdown immediate;
    exitHope this help.
    Best regards,
    Jean-Valentin

  • How to connect from sql*plus to Sql Server

    Dear Profs.
    How I can connect from sql*plus v8 on my local pc(Win XP) to Sql Server Express 2005 light weight installed in same local pc ?
    Thanks,
    Ahmed.

    You'll need to setup heterogeneous services. This is done by creating an init file for the SQL Server db with %ORACLE_HOME%\hs\admin that refers to a DSN for the Sql Server Database. The listener would also need an entry for the SQL Server DB DSN. After that you would create a dblink to SQL Server in your Oracle instance and then could query across the dblink.

  • How to I run SQL Loader in a procedure

    Hi
    Can somebody tell me how can i run SQL Loader in a pl/sql procedure ?
    i tried this:
    host sqlldr73 tiger/scott load.ctl
    then this
    host sqlldr73 tiger/scott "c:\load.ctl"
    but none works.
    Please advise.
    Thanks.
    regards
    Esther

    friend
    sqlldr is an application residing in the OS. procedure runs in the dbms engine.
    you cannot run an os command directly from a procedure or a function or a package .
    If you want to do so you need to use either a daemon process created by a PRO*C program
    or a JAVA stored procedure to do so.
    just refer to previous question forums, you can find the solution. Somebody has already given a solution using
    java to run an OS command . check it out
    prakash
    [email protected]

  • How to connect to SQL*Plus and issue a query all in one command?

    Hi everyone,
    Does anyone know of a way to connect to a db with SQL*Plus, and issue a simple query, all with one command?
    I know that I can save a .sql script with a query, then do this:
    sqlplus user/pwd@db @myscript.sql
    But I'm wondering if there's any way to put the actual query right into the connect command, something like:
    sqlplus user/pwd@db "select count(*) from dba_tables;"
    Does anyone know of a way to do this?

    you didn't mention windows or unix. so, here's a link with both
    Re: windows sql script
    it also has a link to another thread on how to deal with the parens when using ehco in dos.

  • How to speed up SQL*Plus over long distances

    We are using Oracle 10g on Solaris 10.
    We have a customer that is located several thousand miles and is accessing our database using SQL*Plus as well as a custom java app we developed. Any query our customer runs against our database is as much as 500 times slower than run locally. I ran some test queries to see just how much slower it was.
    If I run this query:
    SELECT id FROM test_data WHERE ROWNUM < 300000;
    (The test_data table contains about 1,000,000 rows of sample data and 31 columns)
    It takes about 8 seconds on our intranet. It takes about 1 – 1.3 hours for our customer.
    I chose this query because I wanted a query that took at least a few seconds locally. Most of our customer’s queries return less rows, and are more complicated, but this query is easily to work with and shows what I think is the problem.
    I also made a java test app the runs the same query and it also takes the same amount of time.
    If I spool the results of this query to a file, it creates a 4MB file. If I ftp this file to the customer, it takes only 30 seconds. So it seems like just moving the data is not the slow part; although I am not sure this is a fair comparison.
    When I run a ping between the customer and me, the average latency is 250ms. It seems like this high latency may be slowing down the transfer of query results.
    I need to make the results return faster in both SQL*Plus and Java. It is not necessary to see any of the results until they have all been transferred.
    Is there a way to speed this up, like sending the results all at once instead of a piece at a time? Would incressing the size of the buffers or the size of the Session Data Unit have any effect?
    I am not greatly experianced with Oracle, am I misunderstanding the way it transfers data to the client?
    Any suggestions would be greatly appreciated.
    Tom

    I have tried running a few qurys from the remote computer both with FLUSH ON and FLUSH OFF. The querys execute in the same amount of time either way.

Maybe you are looking for

  • Differences between the Mapping types.

    Hi, I have a query we are using the diff types of mappigs i.e. 1 Graphical Mapping 2. Java Mapping 3 XSLT Mapping 4 ABAP Mapping. what are the differences in the above types and davantages and disadvanteages.

  • Deployment SCOM

    Finally i decides to send the problem, after having hard time 1 week, sure that you can help me now i tried my best  coming through all the prerequisites on both the servers SQL server and SCOM server: save my days plz thank u Alex [15:49:46]: Always

  • Signing XML and Canonicalization

    I am trying to digitally sign some xml and am having a hard time understanding the canonicalization options. The code I'm using is derived from the examples at the bottom of: http://java.sun.com/javase/6/docs/technotes/guides/security/xmldsig/overvie

  • Audit Vault Database Firewall 12.1 Repository Load Log Location

    Can anyone tell me where, if any place, that Oracle writes  a log for when it is moving data collected by the Database Firewall into the Audit Vault repository?  Based on "holes" in the data, it appears that the collection and load from the database

  • It keepscsaying everytime I try to download it app already exists please help me

    Help me