Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Database Administration >> Data Transfer between InterSystems Cache & Oracle.

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Data Transfer between InterSystems Cache & Oracle.
 Nayeem  Posted: Apr 19, 2007 02:14:01 AM

 Total Post: 2
 Joined: Apr, 2007






 Hi DBA's,

I am facing one problem,

We have data in Oracle Table and fetching that data from Cache Database using linkserver concept.

I am able to fetch data through Cache query in Cache Studio from Oracle, like

Cache Query:
SELECT * FROM DATAMASK.TBL_MASKED_STG;

Here DATAMASK.TBL_MASKED_STG is link Table in cache (Table of Oracle).

But if i try to do Bulk update / Bulk Insert into Cache table using link table then i am getting error.

Cache Query:
INSERT INTO Sample.TestMaskClass (ACCOUNT_ID) SELECT ACCOUNT_ID FROM DATAMASK.TBL_MASKED_STG

Here Sample.TestMaskClass is Cache Table and DATAMASK.TBL_MASKED_STG is link Table in cache.

Error Message:
[Oracle][ODBC][Ora]ORA-00928: missing SELECT keyword.


Any help or comments or suggestion for this problem...?

Thanks in Advance & Waiting for kind reply .

regards,
Nayeem.

 Oracle Virus
Posted: Apr 23, 2007 07:07:11 AM  

 Total Post: 50
 Joined: Jan, 2007






 
Hi Nayeem,
Sorry unable to reply you for long time. Hmm...I cant see anything wrong in your query. But I suggest you to keep a brace for select statement as oracle can recognize it better.

Try this:

INSERT INTO Sample.TestMaskClass (ACCOUNT_ID)
(SELECT ACCOUNT_ID FROM DATAMASK.TBL_MASKED_STG);


Regards,
Aneel Kanuri

 Nayeem
Posted: Apr 23, 2007 07:13:26 AM  

 Total Post: 2
 Joined: Apr, 2007






 
Hi Aneel,

Thanks for your reply,

Actually after some R&D i came to know that its limitation in InterSystems Cache DB. In single Query we cannot have two different Datasources.Means Get data from one table of One data source (Oracle) and insert into another table of other data source (Cache).

Any ways found other way for it.

Thanks,
Nayeem

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi333
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software