1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
The issue seems to be format in which the value of the variable is getting passed. The query is expecting a DATE value and you seem be passing an integer value.
As mentioned in the below extract from [1] many users were able to get around the issue by using the CAST function.
———————
If necessary, you can use the CAST function when you enter a value for a parameterized term. For example, if you have a column of the date type that you have parameterized in a query and you want to query for the date 2014-07-05, entering CAST('2014-07-05' AS DATE) for the parameter value will return the result.
———————
================
Have a nice day!
Relevant content
- asked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a month ago