Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 5th, 2003, 02:17 AM
weebeng weebeng is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 76 weebeng User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m
Reputation Power: 10
database name

hi, I'm first time using the oracle.

I seek there is no need specified the database name when using the SQL Plus to login to the database. Just to type in the id and password to login. is this means that there is no "database name" in the oracle? and oracle using the ID and password to specify which database user will go to?

And when I make database connection using ODBC, there is no need to select the database name unlike the SQL server which we must specified the database name.

So, can somebody tell me is that I think is true?

Thank you!

Reply With Quote
  #2  
Old November 5th, 2003, 08:01 AM
Dan Drillich Dan Drillich is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 68 Dan Drillich User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 10
As my book "Introduction to Oracle9i SQL" says: "When you start SQL*Plus on Windows, it prompts you for the user-name, password and host string. The host, or connect string is the database alias name. If you omit the connect string, SQL*Plus tries to connect you to the local database defined in the ORACLE_SID variable."
The database alias name is defined in the tnsnames.ora file, located on the Oracle client installation under network\ADMIN.

Hope it helps,
Dan

Reply With Quote
  #3  
Old November 5th, 2003, 08:09 AM
shafique shafique is offline
Senior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Canada
Posts: 305 shafique User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 45 m 20 sec
Reputation Power: 10
When you install Oracle it will allow you to create a sample database but it is optional. If it is created at the time of installation then It is consider an active/current database, If you have more than one active database then you must specify the Database String name with username and password to connect to desired database, otherwise just type password and user name oracle will let you connect with current database. But at the time of SQL server 2000 installation it creates more than one database like master, model, tempdb, msdb etc, these all are active and available. That's why you need to pass database name with user name and password to use required database.

Regards

Reply With Quote
  #4  
Old November 5th, 2003, 07:06 PM
weebeng weebeng is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 76 weebeng User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m
Reputation Power: 10
Thank you Dan and shafique.
Since I have an application program in client PC and I'd like to connect to oracle database(in server PC) using OLEDB provider. As I know I must install the oralce client component in client PC right? So, what is the configuration that I should do in both oracle in server and client PC in oder they two can communicate?

Reply With Quote
  #5  
Old November 6th, 2003, 02:16 PM
shafique shafique is offline
Senior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Canada
Posts: 305 shafique User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 45 m 20 sec
Reputation Power: 10
You dont need to do extra work on server, just install enterprise oracle on your server (dont use personal). On the client machine you need to install Oracle client or you can install oracle personal too, then create a net service to connect to remote database that is reside on your server. You shoud know the IP address of the server because it is required when you create the net service.
You can create net service by using any of these tools (provided by vendor) Oracle SQL Net easy configuration or Oracle Net<version> configuration.

Where version might be 8,9 etc.

Regards,

Reply With Quote
  #6  
Old November 6th, 2003, 06:53 PM
weebeng weebeng is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 76 weebeng User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m
Reputation Power: 10
Thanks shafique, I've successful connect to the server...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > database name

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap