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

What are user-defined functions (udfs) in sql server?

987


What are the differences between local and global temporary tables?

1078


Sql studio em braces a variety of capabilities, but will I need them all? Is there a simpler product ? : sql server management studio

901


Do you know what are pages and extents? : SQL Server Architecture

993


Why do we backup Active Directory ?

1039


How to use subqueries with the exists operators in ms sql server?

1117


How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.

3873


What are key constraints?

970


How will you monitor replication latency in transactional replication? : sql server replication

1140


What are the differences between left join and inner join in sql server?

1105


what are the reporting service components in SSRS?

163


how many type of indexing in database?

978


If the job running very slow what is the action you do

1889


What does top operator do?

1017


How to list all schemas in a database?

1056