Focal Point
[SOLVED] Creating a summary table and write into the SQL Server db

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

February 14, 2020, 12:31 PM
srajeevan
[SOLVED] Creating a summary table and write into the SQL Server db
Hi,

I have to report out of a table which summaries some complex logic.Usually the ETL team does that logic and create a table using Iway DM.But the logic and reloading the table is gonan take some time and we don't have that much time as of now.

So i am thinking of coding that logic in WF and create the table using WF and write it into the SQL server database for now.

Can someone direct me on how to do this.?
Searched here and saw some info regarding SQL passthrough,but i am looking for other solutions.

The adapter to sql server has write access.Also i might want to index some columns.
I remember it being used somewhere ,but actuall forgot.

something like
 ENGINE SQLODBC SET DEFAUL conn_name 

Looking for general syntax.

Any help is appreciated.

This message has been edited. Last edited by: FP Mod Chuck,


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
February 14, 2020, 12:42 PM
BabakNYC
The generic syntax you need to add to the request is:

ON TABLE HOLD AS tablename FORMAT SQLODBC INDEX indexname


https://webfocusinfocenter.inf...ang/source/out92.htm


WebFOCUS 8206, Unix, Windows
February 14, 2020, 05:14 PM
Hallway
We use the following
  
ON TABLE HOLD AS app_path/master_file FORMAT SQLMSS PERSISTENCE PERMANENT TABLENAME sqlServerTableName CONNECTION 'conn_name'


A Unique,Clustered index is automatically added using all of the BY fields

This message has been edited. Last edited by: Hallway,


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs: