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

Sub Select in Place Holders Parameters

$
0
0

Hi All,

 

Is it possible to pass a sub select query to  a parameter place holder

 

This is my regular query

 

select * from myview (

'PLACEHOLDER' = ('$$PCode$$', '''VALA'',''VALB'''));

 

 

 

I need to call this view in  a procedure  and i don't want to hard code place holder values

 

This is my procedure code

 

code  = select code from tablea;

varout  = select * from myview ( 'PLACEHOLDER' = ('$$PCode$$', :code ));

 

 

 

Thanks in advance


Viewing all articles
Browse latest Browse all 3599

Trending Articles



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