I have a dw to get data from sql select like:
select * from tab, proxytab where tab.id = proxytab.id ...
the proxy table is created based on a stored procedure result set.
When dw retrieve data, it will call sp automatically by proxy table. but there is a big performance problem. So I decided to replace proxy table with a physical table with same name to save the result set from sp.
As I don't want to change any code in powerbuilder. Question is: how to call sp to put the result data in the physical table when dw retrieve data?