Missing right parenthesis error [message #613933] |
Tue, 13 May 2014 12:31 |
|
ipisors
Messages: 24 Registered: May 2014 Location: USA [Arizona ... Desert]
|
Junior Member |
|
|
I am getting a "missing right parenthesis", it only happens when I include this clause:
WHERE
sr.created >= (CURRENT_DATE() - 91) and
stage_util.job_complete_date(sr_sr.id) is not null --complete
Sorry, I had a typo. It errs with this:
WHERE
sr.created >= (CURRENT_DATE() - 91) and
stage_util.job_complete_date(sr.sr_id) is not null --complete
I am not sure what is wrong with the SQL ?
[Updated on: Tue, 13 May 2014 12:33] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|