This functionality is available with RODBA. RODBA allows you to use any logic in the SQL statement that is available for T-SQL. Google "T-SQL programming" for more information.
RODBA is a maintenance benefit for Advanced Priority and Advanced Professional. Refer to Maintenance Programs for detailed information about maintenance benefits. For additional questions, email firstname.lastname@example.org.