can if..else..end if be used in a SQL query?<BR><BR>Thanks<BR><BR>
...like with SQL Server or Oracle. What DB are you using?<BR><BR>Oracle also has DECODE but it is somewhat limited.
I'm going against a Access database. The access query has it I was wondering if I could do the same for the web page