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
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