on 07-07-2014 11:26 PM
Hi All.
I am trying to call a graphical calculation view with input parameters from a script based calculation view as below but getting syntax error:
SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
WITH PARAMETERS ('PLACEHOLDER' = ('$$IP_START_DATE$$',:START_DATE),
'PLACEHOLDER' = ('$$IP_END_DATE$$',:END_DATE));
START_DATE and END_DATE are input parameters of the script based calculation view.
Can anyone please help me with the correct syntax for accomplishing this?
Thanks,
Goutham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Goutham,
Can you try this one?
SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
WITH PARAMETERS (PLACEHOLDER.'$$IP_START_DATE$$' => :START_DATE,
PLACEHOLDER.'$$IP_END_DATE$$' => :END_DATE);
--
Shreepad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gautham,
Can you check with single input parameter instead of two and let me know if it works fine.
Regards,
Vinoth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This should work,
SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
('PLACEHOLDER' = ('$$IP_START_DATE$$','$$START_DATE$$'),
'PLACEHOLDER' = ('$$IP_END_DATE$$','$$END_DATE$$'));
Regards,
Vinoth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gautham,
One more option what i would like you to try is the below option , here i have just changed the order of passing nothing else.
SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
('PLACEHOLDER' = ('$$IP_END_DATE$$','$$END_DATE$$'),
'PLACEHOLDER' = ('$$IP_START_DATE$$','$$START_DATE$$'))
Regards,
Vinoth
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.