@Luis There are a lot of functions that can be used that aren't really referenced as a possible selection in saved searches. Suite Answers 10101 "SQL Expressions" is helpful, but still does not contain all possible functions that actually work in saved searches. I use google a lot to search for Oracle SQL functions. Here is a link to a helpful document I was shown when I went to SuiteWorld last year that has helped me with numerous formulas
https://app.box.com/s/fpadf607d7x6muc7wfoas4kpxyc31h0f . I have this one bookmarked in my browser for easy reference.