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]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
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
Reffer to a previous question related to this subject:
https://www.experts-exchange.com/jsp/qShow.jsp?ta=oracle&qid=10305154
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