If should be reverted, but UDF in derived table :-)
Only that way you could use field created with UDF in WHERE clause.
UPDATE:
Sorry, I just read your second message.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.