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
What do I need to start working with sql studio? : sql server management studio
What is tablix?
How to download and install the scaled-down database adventureworkslt?
Explain ms sql server reporting services vs crystal reports?
What are the restraints imposed on the table design by a merge replication?
What are the types of containers in ssis?
How to perform key word search in tables?
How to create user messages with print statements in ms sql server?
What is the maximum row of a size?
How do you create an execution plan?
What do you mean by authentication modes in sql server?
Explain time data type in sal server 2008?
What is cdc in sql server?
What is normalization of database?
You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date