You need to sign in to do that
Don't have an account?
JoeK.ax278
Came across something in the SOQL BNF...
just now. *http://wiki.developerforce.com/index.php/BNF_FOR_SOQL)
I was hoping this line:
FIELDEXPR ::= NAME OPERATOR VALUE | NAME MATHOPERATOR NAME OPERATOR VALUE
Indicated we could now do this:
select id from object where x - y > 0
as an alternative to
select id from object where x > y
Is there an enhancement to SOQL that I've missed or that is in the works?
I just tried it, it does not work
select amount from opportunity where amount+1>50000
I tried even with API 18.0, without success
By the way, there is a mistake in that page, it is written THIS_QUERTER instead of THIS_QUARTER
=> this doc is probably human generated, with human errors...
Thanks for the confirmation, Artabus. I got the same result in my testing as well.
Note that what I've really been hoping for has been the ability to compare two FIELDNAME's in the same FIELDEXPR. I suppose it's hard on the optimizer, but still, I hope!
Very observant of you to notice THIS_QUERTER.
Think & Enjoy -- JoeK