Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the default value of CHAR type?

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


Please Help Members By Posting Answers For Below Questions

What are approximate numeric data types in ms sql server?

1045


Can you give me some DBCC command options?(Database consistency check) - DBCC CHECKDB - Ensures that tables in the db and the indexes are correctly linked.and DBCC CHECKALLOC - To check that all pages in a db are correctly allocated. DBCC SQLPERF - It gives report on current usage of transaction log in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any damage.

2508


How does using a separate hard drive for several database objects improves performance right away?

922


What is difference between table aliases and column aliases? Do they affect performance?

957


What is the difference between dataadapter and datareader?

990


New concepts of sql server 2005 use in your project.

2354


What is the difference between TRUNCATE and DROP?

1125


How do I get to sql server configuration manager?

1001


Explain what are partitioned views and distributed partitioned views?

934


Explain difference between control flow and data flow?

955


What happens when converting big values to integers?

993


Explain about service Broker functions?

1025


What is difference between commit and rollback when used in transactions?

950


What are the types of lock supported by ?

1036


How to sort query output in descending order in ms sql server?

938