File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Host String in jdbc url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Host String in jdbc url" Watch "Host String in jdbc url" New topic

Host String in jdbc url

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
I am trying to connect to oracle database. Unfortunately, I dont remember what is my SID. So how can I retrieve that ? Secondly, what version of oracle shall I download for practice coding (Enterprise, Lite or which one) ?

Thanks in advance
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29219

Welcome to JavaRanch!

If you look at your tnsnames.ora file, it will contain the SID in use on your machine.

As for edition of Oracle, I recall Oracle Express Edition being free. Best bet is to check on the Oracle site.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Host String in jdbc url
Similar Threads
How to Inserting current Date to DataBase
delete duplicate records
OCMJEA/SCEA part1 certification preparation
oracle 8i features