Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 26th, 2004, 09:46 PM
david6666666 david6666666 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 33 david6666666 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m 41 sec
Reputation Power: 5
SQL datase help

how do you link two databases together with SQL in sqlplus?

Last edited by david6666666 : April 26th, 2004 at 10:01 PM.

Reply With Quote
  #2  
Old April 27th, 2004, 06:32 AM
r937's Avatar
r937 r937 is offline
SQL Consultant
Dev Shed God 25th Plane (17000 - 17499 posts)
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 17,344 r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 3 Weeks 5 Days 8 h 26 m 34 sec
Reputation Power: 891
answer: with a join

also, if you are using "sqlplus" then you are also probably using Oracle, no?

this is the MySQL forum

i'm a forum admin, would you like me to move your question to the Oracle forum?
__________________
r937.com | rudy.ca

Reply With Quote
  #3  
Old April 27th, 2004, 07:18 PM
david6666666 david6666666 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 33 david6666666 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m 41 sec
Reputation Power: 5
ok

Reply With Quote
  #4  
Old April 28th, 2004, 08:04 PM
david6666666 david6666666 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 33 david6666666 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m 41 sec
Reputation Power: 5
any help please

Reply With Quote
  #5  
Old April 30th, 2004, 02:35 AM
shammat shammat is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 971 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 17 h 44 m 25 sec
Reputation Power: 57
Please define what you mean with "link" and "database".

Oracle does not have a concept of "databases" as e.g. MS SQL Server.

If you are talking about different schemas (=users) then simply prefix the table names with the user names (e.g. select * from user_a.table_1, user_b.table_2).

If you are talking about two different Oracle servers (or instances) then look up "CREATE DATABASE LINK" in the Oracle manual

e.g.:

For Oracle8:
http://download-uk.oracle.com/docs/...m6b.htm#2061507
http://download-uk.oracle.com/docs/.../a76939/toc.htm
http://download-uk.oracle.com/docs/.../a76960/toc.htm

For Oracle9:
http://download-west.oracle.com/doc...56a.htm#2061507
http://download-west.oracle.com/doc.../a96590/toc.htm
http://download-west.oracle.com/doc...in.htm#ADMIN029

You will need a (free) account with OTN to read those documents

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > SQL datase help


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway