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

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
author & internet detective

Joined: May 26, 2003
Posts: 30598

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
GeeCON Prague 2014
subject: Host String in jdbc url