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 / penchal das

Char is static in size where as Varchar is dynamic in size.

if we use char(15) and we have used only 10 charectes then remaining memory space will be wasted.

In case of Varchar(15) if use 10 chars remaining memory space will be freed.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can two tables share the same primary key?

896


How to create a view using data from another view?

939


How to name query output columns in ms sql server?

947


what exactly sql injuction.how to overcome.....

2516


What is lock escalation? : sql server database administration

1143


Define right outer join?

963


What is partition in sql server?

1021


How to count rows with the count(*) function in ms sql server?

992


What is multi-statement table-value user-defined function?

979


How to generate random numbers with the rand() function in ms sql server?

1124


Explain few examples of RDBMS?

1020


What is raid? : SQL Server Architecture

1152


what are isolation levels? : Sql server database administration

969


What is a fill factor?

1072


What is sparse columns of sql server 2008?

1030