So this seems to be saying that postgres does not have the ifnull function: http://www.postgresql.org/docs/9.2/static/functions-conditional.htmlhttp://www.postgresql.org/docs/9.2/static/functions-conditional.html
From: Ankur Kaushik [ankurkaushik@xxxxxxxxx]
Sent: Friday, June 26, 2015 7:32 AM To: Burgholzer, Robert (DEQ) Cc: pgsql-admin@xxxxxxxxxxxxxx Subject: Re: select query of mysql to postgres Below is the error while executing the query.
ERROR: syntax error at or near ":="
LINE 8: ...fnull(rm.schedule_distance, 0)) IS NULL, @tot_dur := @tot_du...
^
********** Error **********
ERROR: syntax error at or near ":="
SQL state: 42601
Character: 474
On Fri, Jun 26, 2015 at 4:33 PM, Burgholzer, Robert (DEQ)
<Robert.Burgholzer@xxxxxxxxxxxxxxxx> wrote:
|