0

SET Date = '050120';

select SUBSTR("+Parameters!Date.Value+", 5, 2) enter image description here

I am passing the Date parameter value. Why is it not picking the date value? It is showing the output as 'ra' which is shown in screen shot. I am expecting it to show 20.

Felipe Hoffa
  • 54,922
  • 16
  • 151
  • 325
Akhira
  • 203
  • 2
  • 5
  • 16

1 Answers1

1

This will return 10:

SET Date = '050120';

select SUBSTR($Date , 5, 2);

Mike Gohl
  • 627
  • 4
  • 7