Connecting To Sql Via Command Prompt

How do I connect to SQLPlus via the command prompt?
What is the sql that I need to type in?
Database instance name, username password?

Open command prompt. Do the following:

CODE :

C:\>sqlplus username@servicename

SQL*Plus: Release 9.2.0.1.0 - Production on Fri Nov 11 09:54:11 2005

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter password:

Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

SQL>
------------------------------------------------------------------------
(1)
Open Command Prompt

(2)
Navigate to the directory where oracle server is installed
E:\ora8i

(3)
Naviagate to Bin directory
E:\ora8i\bin

(4)
Write sql plus

And that's all...

If you want to connect directly then type
username/passwor@servicenam
E.g.

D:\RBPL\forms\main.fmx rafaqat/rbpl@gul

Quick Links:
Have a Oracle Question
Do you have an Oracle Question?

Oracle Books
Oracle Certification, Database Administration, SQL, Application, Programming Reference Books

Best Regards,
Oracle Database, SQL, Application, Programming Tips

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.
The site www.erpgreat.com is not affiliated with or endorsed by any company listed at this site.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.