I am creating an end of month variable, that works with postgres but I have to rewrite it in Redshift, any clue why it shows me the following error?
The database reported a syntax error: Amazon Invalid operation: Interval values with month or year parts are not supported Details: ----------------------------------------------- error: Interval values with month or year parts are not supported code: 8001 context: i
select
(date_trunc('month', ("Date (id created)" + INTERVAL '1 month'))) as "EoM"
from id