General information
Category:
Coding, syntax & commands
>I want to have an SQL statement that will allow an IIF that can accept up to 2 digits.
>
>
>
>SELECT *, ;
> IIF( INLIST( nUserSecurityLevel, 1, 2, 3 ), nUserSecurityLevel+00, 99 ) AS ; nUserLvl ;
> FROM ;
> UserSecurity
>
>
>Excellent. Thank you for your 34 second response :).
>
>Dan
Sorry about the blank post.. How would I handle it if the above used characters instead.
'A', 'B', 'C' and "ZZ".
Dan
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only