Select from following answers:- INT
- DATETIME
- Depends on both variable values
- None of the above
- All Above
IIF() function introduced in SQL server 2012. this function returns the data type with the highest precedence between the 2nd parameter (true value) and the 3rd parameter (false value). From the given query, DATETIME has a higher precedence than INT.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator