Home » SQL & PL/SQL » SQL & PL/SQL » Connect SQL and Oracle, possible?
| Connect SQL and Oracle, possible? [message #559860] |
Fri, 06 July 2012 21:07  |
 |
Fisch123
Messages: 10 Registered: July 2012
|
Junior Member |
|
|
Hello!
I am a student and for a project we should connect two different databases. One is based on SQL and the other one is based on Oracle.
So please experienced users and programmers, I have completely no idea about this stuff and could you please answer me some questions.
- Is it possible to connect both databases / to get connection between them?
- On what do I have to take attention when I connect them or which problems should I expect?
- Is it easy to get communication between those platforms or is a huge amount of programming necessary?
Many Thanks!
Peter
[EDITED by LF: fixed awkward [list] tags]
[Updated on: Sat, 07 July 2012 04:24] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Connect SQL and Oracle, possible? [message #560464 is a reply to message #560462] |
Fri, 13 July 2012 04:18   |
 |
dws1
Messages: 14 Registered: July 2012
|
Junior Member |
|
|
OK, it sounds like you don't need database links or linked servers (the Oracle and SQL Server terminology for essentially the same thing), but for your application to be able to connect to any database. So you will need to implement a database abstraction layer and database-specific low level functions. There are some already in existence that might fit your needs - ODBC for instance.
As for what you should use for your own data, there's not much I can suggest. What do you know, and out of what you know, what has the features you require? If you just need somewhere to bung some data, you could use Notepad to bung it into a text file; you only really need an RDBMS if you need all those extra layers of functionality. Notepad has insert, delete, overwrite and search functionality, although not sorting; but Notepad++ can sort. If not Notepad(++), why not, and the answer to that will lead to what you should use.
|
|
|
|
|
|
| Re: Connect SQL and Oracle, possible? [message #560577 is a reply to message #560576] |
Sun, 15 July 2012 01:49   |
 |
Littlefoot
Messages: 16993 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
If existing data is "static" (i.e. you won't update these records, insert new ones, delete them) and you'll insert new data into a brand new table (tables), and regarding the fact that you want to do all that stuff (sorting, searching, comparing, ...), MAYBE you should consider migrating all your data into a single database.
For example: you could use SQL Developer and migrate SQL Server's data into an Oracle database. Having it all under Oracle, things are much simpler: you could create a view as
create view all_my_data as
select id, name, date, whatever from my_oracle_table
union all
select id, name, date, whatever from migrated_sql_server_table
union all
select id, name, date, whatever from my_new_inserting_table
Your application would be based on that view; as you'd have everything in the same view, all operations you mentioned (searching, sorting) would be rather simple.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Connect SQL and Oracle, possible? [message #560612 is a reply to message #560606] |
Mon, 16 July 2012 01:13   |
 |
Littlefoot
Messages: 16993 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Fisch123What I forgot to mention is that I want to update the information or to change some inputs
Fisch123, a little bit laterBut in my web based application you should have only limited access to the data. It means no write/delete options. Over web you should only be able to read the stuff, filter and sort.
Fisch123there should be a local machine in town, where one specified user will always update the data in my own database.
I must admit: I don't understand what you really want. More important is: I don't think that YOU know what you really want.
- There's that SQL Server database that contains some data. Do you want to have it read only or do you want to insert/update data?
- There's another, Oracle database that also contains some data. Do you want to have it read only or do you want to insert/update data?
- There's the third, "your own" MS Access database. It appears that you want to insert & update data in it. Is that correct?
Depending on the answers you provide to the above questions, someone might suggest an approach to the problem.
By the way, you might be interested in Oracle Application Express.
|
|
|
|
| Re: Connect SQL and Oracle, possible? [message #560628 is a reply to message #560612] |
Mon, 16 July 2012 02:29   |
 |
Fisch123
Messages: 10 Registered: July 2012
|
Junior Member |
|
|
Hello!
Ok.
1st database: Oracle base: have only read access on this one.
2nd database: MS-SQL base: have only read access on this one.
3rd database: This should be my database, for my data (text, values, charts, maybe also pics), were I have read/write (full) access.
Webapplication: Only Read/Filter/Sort/Compare options. With the internetbrowers you have a application where you can search for data in all three of them.
The main question is now what I should use for my own, 3 drd database. Have to get the data , which is saved mainly in Excel sheets (values, text, charts, pics) , and then to safe it into a application which creates me the database...
Thanks for the information of Oracle Express. Will read through it...
Sorry for confusing so much...
|
|
|
|
| Re: Connect SQL and Oracle, possible? [message #560630 is a reply to message #560628] |
Mon, 16 July 2012 02:41   |
 |
Littlefoot
Messages: 16993 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
OK then, the first two databases are read-only.
For the third one, my choice would be Oracle (most probably because I don't use any other database). You don't even need to buy one, 11g XE is free. Application Express is free as well, and - pay attention - it is great in converting your Excel sheets into a web application, so you don't even need to worry much about programming, data transfer, whatever - Apex does that for you.
So I'm back to my previous message - view created as union of all three of them.
|
|
|
|
|
|
Goto Forum:
Current Time: Thu May 23 07:22:39 CDT 2013
Total time taken to generate the page: 0.14194 seconds
|