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 basic diffrence betn a col declared in char(1)
and in varchar(1)

Answer Posted / nilam gandhi

char(1) is a fixed length character data,size character long.
Maximum size 2000 bytes.
Default size is 1 byte.
Varchar(1) is a variable length character string.
And the maximum size of the varchar(1) data type is 4000 bytes.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of functions are there in sql server?

946


What are the disadvantages of using the stored procedures?

1102


Describe the functionalities that views support.

1099


How to define and use table alias names in ms sql server?

1132


What is ms sql server triggers?

1012


Once setting replication, can you have distributor on sql server 2005, publisher of sql server 2008?

951


How to create a stored procedure with a statement block in ms sql server?

1070


What are transactions in sql?

1060


Why do we use non clustered index?

1082


What are three major types of constraints?

1116


What are the basic functions for master, msdb, model, tempdb databases?

1041


What are click through reports?

142


What is pessimistic concurrency?

974


What is the name of reporting services config file and what’s it’s used for?

146


How to convert numeric expression data types using the cast() function?

1067