|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Gold member |
I hold the file in the FEX and then I want to insert the hold file content to table in SQL server. How can I do that ?
|
||
|
|
Gold member |
But how can I insert data from a HOLD file to the table in SQL server?
Please help ! |
|||
|
|
Master |
Ringo, If you are licensed to update database with WebFOCUS you can do what was suggested. Here's a more detail example using the famous car file and lets say that car2 is a SQL table that has the same fields and formats that I am printing and holding as HOLDCAR.
TABLE FILE CAR PRINT DCOST RCOST BY COUNTRY BY CAR BY MODEL BY BODYTYPE -*DEFAULT HOLD NAME IS HOLD WHEN AS IS NOT USED ON TABLE HOLD AS HOLDCAR END -RUN MODIFY FILE CAR2 FIXFORM FROM HOLDCAR MATCH COUNTRY CAR MODEL BODYTYPE ON MATCH UPDATE * ON NOMATCH INCLUDE DATA ON HOLDCAR END |
|||
|
|
Gold member |
Thank you very much !
|
|||
|
|
Platinum Member |
The absolutely easiest way to put a HOLD file into a relational database is to do it directly.
eg TABLE FILE CAR stuff ON TABLE HOLD FORMAT ORACLE AS tabname END or whatever database you have (the keywords are in the doc). Remember that your id is probably going to be the first part of the table name in the rdbms when you look for it. |
|||
|
|
Master |
...but note that, at least with earlier releases (4.x) of WF, the column names for the resulting table will be the standard HOLD MFD aliases: E01, E02,.... |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

