Use it jus like you normally would. If it's user defined, make sure you
have the permissions and the proper references to the ownership chain.
However, if you want to use ISNULL for instance
"SELECT ISNULL(myFielld, 'SomeValue) FROM someTable" will work..getdate()
all that good stuff, just write it exactly like you would in a query.
Cheers,