sql - Join MS Access Table to Oracle table -
i'm playing around table in ms access database. table has primary key of client_number. corporation maintains oracle database has table contains clients contact information (address, phone numbers, emails, etc). has client_number field. got thinking maybe can join 2 tables different databases , run queries. dug around on net , couldn't find reference, think long shot , silly question, possible? maybe through db link or something? reference, use sql developer 3.2.xx sql developing.
i copy table in oracle access using what's called sqlpassthrough query in access. linked tables oracle in experience, perform poorly, , if thinking joining local table in access, worse.
passthrough queries quick since access sends query execution target server/database based on connection identify passthrough query, hence name "pass-through".
the driver in connect string may not work you, , may need more info depending on how things setup in environment, have work out.
'creates passthrough query oracle currentdb.createquerydef("qoracleconn") .connect = "odbc;driver={microsoft odbc oracle};server=oracleservername;uid=oracledbusername;pwd=oracledbpassword;" .sql = "select * tableinoracle" end 'creates local table in access currentdb.execute "select * oracleclients qoracleconn"
Comments
Post a Comment