M mpsTiffany Member Feb 6, 2006 #1 I need to create a pivot select statement. The best way I know how is to use IIF function but it's keep telling me that the right ) is missing. Does PL/SQL support this function?
I need to create a pivot select statement. The best way I know how is to use IIF function but it's keep telling me that the right ) is missing. Does PL/SQL support this function?
C CTzen Member³ Feb 6, 2006 #1 If you are looking for IIF() as in SQL Server, you have to use DECODE() or CASE instead. They both have their pluses and minuses, choose one that works better for this particular task.
If you are looking for IIF() as in SQL Server, you have to use DECODE() or CASE instead. They both have their pluses and minuses, choose one that works better for this particular task.
Stew Stryker Member³ Feb 6, 2006 #1 Personally, I prefer the CASE clause to DECODE(), but maybe that's just me!