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

What are the advantages of having an index on the sql server?

926


Describe in brief databases and sql server databases architecture.

1014


How to create prepared statements using odbc_prepare()?

1070


What is a cache in ssrs?

135


Can we use where and having clause together?

1050


Can two tables share a primary key?

1026


in the physical file layout, where should the transaction log be stored in relation to the data file? : Sql server administration

1072


What are a scheduled jobs or what is a scheduled tasks?

903


Explain what is lock escalation?

1073


How do you check sql server is up and running?

1006


What is the minimum recommended amount of ram for sql server 2012 enterprise?

937


Difference between report and query parameter. Why do we need different type of parameter?

967


Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture

924


What is role playing dimension with two examples? : sql server analysis services, ssas

1011


Is there any difference between the primary key and unique key?

1007