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:


C:\>sqlplus username@servicename

SQL*Plus: Release - 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 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release - Production

Open Command Prompt

Navigate to the directory where oracle server is installed

Naviagate to Bin directory

Write sql plus

And that's all...

If you want to connect directly then type

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 © and the content authors. All rights reserved.
All product names are trademarks of their respective companies.
The site 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 or the content authors.