DBA > Job Interview Questions > Microsoft SQL Server FAQs
What does this return?
More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/
(Continued from previous question...)
What does this return? declare @i int select @i = -5 select +@i Answer -5 Explanation This will return -5 as the result. The + operator functions as a unary plus operator, which means that it performs no operation on the value it preceeds.
(Continued on next question...)
Other Job Interview Questions