ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What is the default value of CHAR type?
 Question Submitted By :: Katha.net
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the default value of CHAR type?
Answer
# 1
1
 
Is This Answer Correct ?    1 Yes 7 No
Sujitha
 
  Re: What is the default value of CHAR type?
Answer
# 2
'\u0000'
 
Is This Answer Correct ?    11 Yes 1 No
Bijoy Vp
 
 
 
  Re: What is the default value of CHAR type?
Answer
# 3
1
 
Is This Answer Correct ?    1 Yes 4 No
Chiru
 
  Re: What is the default value of CHAR type?
Answer
# 4
Null
 
Is This Answer Correct ?    2 Yes 4 No
Asha
 
  Re: What is the default value of CHAR type?
Answer
# 5
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 ?    4 Yes 0 No
Yash
 
  Re: What is the default value of CHAR type?
Answer
# 6
In Sql Server 2000 the default value for char datatype is 10
 
Is This Answer Correct ?    1 Yes 2 No
Samrat Sen
 
  Re: What is the default value of CHAR type?
Answer
# 7
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 ?    2 Yes 0 No
Mallesh
 
  Re: What is the default value of CHAR type?
Answer
# 8
8
 
Is This Answer Correct ?    0 Yes 3 No
Satish
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
If you are working on a SQL database and if suddenly a developer changes the code and your queries results start giving errors,how will you check using a T-SQL query (on system tables) that what has changed in the database. Microsoft2
CREATE TABLE [dbo].[HPMS_CompetencyTypes](CompetencyType varchar(50) ) go create trigger hpms_create_Insert on HPMS_CompetencyTypes for insert as if Exists ( select * from [HPMS_CompetencyTypes] where CompetencyType=(select * from [HPMS_CompetencyTypes])) begin Rollback tran Raiserror ('duplicate value',12,6) go insert HPMS_CompetencyTypes (CompetencyType) values ('new') I'm new to trigger can any one tell me where is the issue. Please.  2
What are the advantages of using views. Why do we need views when we have SPs? 247Customer3
can you any body tell me while running BCP Out in instance in sql server 2000 is getting error. Error = [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.?  1
what is mean by crystal repoart? ahere we will mainly use that?  1
I need a query that retrieves info from an Oracle table and a query that retrieves info from a SQL Server table. The info has to be joined together according to Record ID numbers. I have very limited access to the Oracle database but full control of the SQL Server database.How do I join two different queries from two different databases?  1
how to delete duplicate rows from table in sql server HCL8
How to determine the service pack currently installed on SQL Server? HCL4
please can anyone answer this query Table 1 has 2 columns: EmployeeId,Age Table 2 has 2 columns: EmployeeId, Region Write SQL to Find the region who has the oldest person  7
Explain Active/Active and Active/Passive cluster configurations  1
if we have a column (Key) in a table. and values of that column is Key 1 1 1 2 2 3 3 4 4 5 5 5 and we want to show the data after query..like.. 1(3) 2(3) 3(2) 4(2) 5(3) how many times a single term comes.. Rolta5
What is normalization and its forms? Challenger-Financial3
Please tell me some knowledge about Clustering and how to add clustering?  1
can we call stored Procedure in Function in Sql Server 2000 and vice versa. eSoft2
Which databases are part of SQL server default installation? Explain the usage of each? Accenture2
IN Vs OR operator which is best to use sql server.  3
What are the differences between stored procedure and functions in SQL Server 2000? TCS12
what is difference between primary key and Unique  8
Questions regarding Raiseerror?  1
how insert selected column only ? Robert-Half2
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com