|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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? |
|
#3
|
|||
|
|||
|
ok
|
|
#4
|
|||
|
|||
|
any help please
|
|
#5
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > SQL datase help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|