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?

Answers were Sorted based on User's Feedback



What is the default value of CHAR type?..

Answer / bijoy vp

'\u0000'

Is This Answer Correct ?    34 Yes 6 No

What is the default value of CHAR type?..

Answer / 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

What is the default value of CHAR type?..

Answer / venky

Blank Space

Is This Answer Correct ?    2 Yes 0 No

What is the default value of CHAR type?..

Answer / mallesh

In Sybase the default value for Char is NULL
you can check it as

declare @val char(5)
select @val
o/p is NULL

Is This Answer Correct ?    4 Yes 3 No

What is the default value of CHAR type?..

Answer / foolishchild

'c'. where c represent any character.

Is This Answer Correct ?    1 Yes 0 No

What is the default value of CHAR type?..

Answer / samrat sen

In Sql Server 2000 the default value for char datatype is 10

Is This Answer Correct ?    5 Yes 6 No

What is the default value of CHAR type?..

Answer / satish

8

Is This Answer Correct ?    2 Yes 7 No

What is the default value of CHAR type?..

Answer / asha

Null

Is This Answer Correct ?    8 Yes 15 No

What is the default value of CHAR type?..

Answer / chiru

1

Is This Answer Correct ?    3 Yes 13 No

What is the default value of CHAR type?..

Answer / sujitha

1

Is This Answer Correct ?    7 Yes 27 No

Post New Answer

More SQL Server Interview Questions

What is page in sql server?

0 Answers  


Is it possible to create tables in stored procedures using a variable for the table name?

2 Answers  


Explain what is row_number function?

0 Answers  


What is use of @@ spid in sql server?

0 Answers  


Do you know how to send email from database?

0 Answers  


How to encrypt data between dialogs?

0 Answers  


1. What are the grouping function in SQL ? 2. If base table of a view deleted means, what will happen while we querying on view ? will give any error ? 3. Difference between DROP, DELETE, TRUNCATE table ? 4. What is constraints and types ? 5. What is max size of nchar & nvarchar ? 6. Define ROLLBACK, COMMIT, SAVE POINT 7. How non-clustered better ? or rank the Clustered, Non-Clustered and Table scan in performance wise 8. Select 10 rows from a table ? 9. Define DML, DDL, DCL, DTL commands ? 10. What is mean by NULL value ? NULL means "" or 0 or undefined ? 11. Default constraints ? 12. Can we have more then primary Key in table ? 13. Type of integrity ? Entity, Referential, Domain ?

10 Answers   Perot Systems,


How to connect PK and FK?

2 Answers  


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

0 Answers  


how we can store the value like that 001,003,023 etc in sql server 2005

7 Answers  


how to update a null value field in sql server eg a table contains 3 fields id,name,salary and 3 records salary of 1 record is null i want update the nullfield 111 arun 300 112 ddd 200 113 ttt null i want to update table with add 100 to every record include null after updation the recrds should be 111 arun 400 112 ddd 300 113 ttt 100

6 Answers   ABC, HCL,


SQL Server Architecture ?

0 Answers   IBM, Sapient,


Categories