adspace
Answer Posted / yash
The default value of a variable of value type is the value
assigned in the default constructor. For simple types this
value corresponds to a bit pattern of all zeros:
• For integer types, the default value is 0
• For char, the default value is `\u0000' //Unicode
• For float, the default value is 0.0f
• For double, the default value is 0.0d
• For decimal, the default value is 0.0m
• For bool, the default value is false
| Is This Answer Correct ? | 26 Yes | 2 No |
Post New Answer View All Answers
How can you append an identity column to a temporary table?
How can I check that whether automatic statistic update is enabled or not?
When should you use an instead of trigger?
If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?
How efficient you are in oracle and SQL server?
How do I find query history in sql server?
what is the difference between openrowset and openquery?
Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?
What are wait types?
List out the different types of locks available in sql server?
Why should you use or avoid select * statements?
What is the difference between for xml raw and for xml auto?
Can you index views?
Why we use the openxml clause?
Disadvantages of the indexes?