What will be the value of the @Bit variable in below statement?

declare @val bit;
set @val = -1;
select @val as Output;

 Posted by vishalneeraj-24503 on 7/1/2014 | Category: Sql Server Interview questions | Views: 480 | Points: 40
Select from following answers:
  1. 0
  2. -1
  3. 1
  4. Null
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response