Buy Questpond's video subscriptions on
huge discount
.
Online: 1017
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
Sql Server
>
Loading ...
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: 1757 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
0
-1
1
Null
All Above
In Sql Server,converting to Bit data type assigns any non-zero value or negative value to 1.So the answer will be 1.
Show Correct Answer
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
You’ve just created a new SQL login for your manag ...
Next > :
What will be the result? select STR(938.56,6,1);
Comments or Responses
Login to post response
More Interview Questions by vishalneeraj-24503
What will be the result? select STR(938.56,6,1);
What will be the output of the following Select statement? select 2 ...
Which of the following is a valid way to add multi-line comments to a ...
Which of the following is a valid way to add comments to a SQL stateme ...
Which of the following function is a SQL Mathematical function?
Which of the following function is a SQL aggregate function?
Which of the following is not a SQL transaction statement?
Which one is the correct order in a SELECT statement?
Latest Interview Questions
What is WebDriver?
how to copy data from one table to another table in another database
In a Cricket Game, Two Batsman playing each on 94* . They need 7 runs ...
A 6-Feet taller Man found dead by Hanging himself to the Fan in an Emp ...
There are some Apples to the Apple tree. After a strong wind on the tr ...
In MVC is mandatory to be Map route {controller}/{action}/{id} In Thi ...
There is a new building having 100 rooms in it. A painter was hired to ...
Which of the following type of encoding is used in WCF?
More ...