Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8989

how to call SP automatically when issue a select clause?

$
0
0

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?


Viewing all articles
Browse latest Browse all 8989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>