Focal Point
[SOLVED] Convert from SQL Table to Oracle Table

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5221065013

December 15, 2008, 08:49 AM
<Vijaya_settu>
[SOLVED] Convert from SQL Table to Oracle Table
How to convert from SQL Table to Oracle Table using Webfocus. I appreciate any thoughts or suggestion regarding this issue.

Thank you
Vijaya

This message has been edited. Last edited by: Kerry,
December 15, 2008, 09:16 AM
GinnyJakes
Well, first you need both adapters. Then you can TABLE from SQL Server and HOLD FORMAT SQLORA or use MAINTAIN or optionally MODIFY to load Oracle.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
December 15, 2008, 09:27 AM
FrankDutch
Or if you have ETL (Data Management Console) you can use that.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

December 15, 2008, 11:00 AM
TexasStingray
As a developer here is what I do. After configuring both adapters I make a copy of the both the master file (.mas) and the access file (.acx) then I manually change the SUFFIX in the master file from SQLMSS to SQLORA. Then I change the acx file to point to the oracle connection and not the sql server connectn. and also change the TABLENAME to point to the correct schema in oracle. after I have done that I issue a CREATE FILE xxxx command to create the table in oracle. I then use a combination of table file and modify file to copy the data from SQL Server to Oraqcle.

Hope this helps




Scott

Thank you all of you
Ginny - Just like you said , I tried the following example it did work. "TEST" is hold file of my oracle table . But Currenlty we have two oracle database one is production and another one is test. Currently this code is putting into my production. But i want the hold oracle in "Test" environment . is it possible can I put the hold oracle file in "Test" environent. Do i have to write the oracle connection somewhere in the code to point to "Test" environment.

TABLE FILE SQLSERVERTABLENAME
PRINT *
ON TABLE HOLD AS TEST FORMAT SQLORA
END
quote:
Do i have to write the oracle connection somewhere in the code to point to "Test" environment.


Yes, you can put in right in front of the code you have in your post.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google