Expression Syntax
Like
“Like” can be used to create an expression to look to see if a string to exists anywhere in a column. For example, if you want to filter to include only names which have the string “ing”:
name like “%ing%”
IN
mpu_id in (1025706, 1331984)
NOT (Watch out!)
Compound expressions which contain NOT can give you unexpected results. Be liberal with parentheses to make ambiguities clear. For example:
NOT IsNull(bk_ver_slc_id) and bk_ver_id = 9999
Gives different results than
(NOT IsNull(bk_ver_slc_id)) and bk_ver_id = 9999
No comments yet.
-
Archives
- August 2009 (2)
- May 2009 (1)
- March 2009 (1)
- January 2009 (2)
- December 2008 (1)
- November 2008 (2)
- September 2008 (1)
- August 2008 (1)
- July 2008 (24)
- June 2008 (22)
- May 2008 (69)
- April 2008 (25)
-
Categories
-
RSS
Entries RSS
Comments RSS
Leave a comment