Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Store Procedure SQL in CDE dashboard

$
0
0
Dear all.
How can I create procedure in sql of CDE dashboard, I try to work like that but it not work.

create procedure SimpleData(out ${param} int)
begin
if ${param}=1
select ordernumber,productcode from orderfact
else
select ordernumber,productcode,priceeach,totalprice from orderfact
end

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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