Link to home
Start Free TrialLog in
Avatar of ajayksh
ajayksh

asked on

Default SID

I have installed personal oracle on my system running NT. Can someone tell me what is the default SID [I want to connect to my DB as sqlplus scott/tiger@xxxxx, what is xxxxx]

Avatar of Andrei Rodionov
Andrei Rodionov
Flag of Russian Federation image

Hi!

As far as I remember the default SID for Personal Oracle is :2 (or 2:?), i.e. you should use

sqlplus scott/tiger@2:

Andrew
ASKER CERTIFIED SOLUTION
Avatar of sbenyo
sbenyo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sudhi022299
sudhi022299

As sbenyo has pointed out, the default sid is ORCL. I use a personal Oracle 8.0.4 on my laptop and for a personal edition, you don't have to set any sid and don't even require the tns alias or service name to connect to the database. Just invoke the corresponding tool and give the username/password and you should be able to connect.
Avatar of Mark Geerlings
On many platforms if you are running SQL*Plus on the same machine that the database is on, you don't need an entry at all for the third line of the login prompt.  If you do need an entry on that line it is the TNS alias for the database, not the SID that is required.
Avatar of ajayksh

ASKER

Many thanx for the description. Actually I wanted to connect to the personal oracle on my notebook thru java oracle jdbc drivers.

Hi,

Reffer to a previous question related to this subject:

https://www.experts-exchange.com/jsp/qShow.jsp?ta=oracle&qid=10305154