If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Databases structures in Oracle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-06, 14:29
rgomez10 rgomez10 is offline
Registered User
 
Join Date: Jan 2006
Posts: 3
Databases structures in Oracle

I'm new using Oracle, and I need to stablish a connection to ORACLE to diferent databases.

1- To do it, the connection string uses the user name, password and Server. A server could have different databases or represents only one?. If it has different databases explain me how to specify one to make a query.

2- Which OWNER y have to use to acces only data of the database tables, columns and foreing keys references to avoid obtaining system tables in my querys.

P.D: If you see I'm realy lost, explain me the two concepts.

Thank you,
Rodrigo
Reply With Quote
  #2 (permalink)  
Old 01-25-06, 19:17
WilliamR WilliamR is offline
Registered User
 
Join Date: Sep 2004
Location: London, UK
Posts: 564
You need the username, password, hostname, port and SID. TNSNAMES lets you define a label for the hostname, port and SID combination, so for example you might use scott/tiger@work where "work" is defined in tnsnames.ora as host=starbase, port=1521, SID=dev.

That is just the old TNS though. There is also Oracle Names, Oracle Instant Client, ODBC and about 94 flavours of JDBC so far as I can make out.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On