John R Pierce, 16.12.2013 01:23:
>> select current_timestamp, current_timestamp + interval '2' day;
> 
> that should be interval '2 day'   (note the ' moved), and for  a variable 
> number passed as a parameter, try...


Both are valid. interval '2' day is the ANSI SQL format though.








-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to