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 you explain what is indexed view? How to create it?

897


How many full-text indexes can a table have?

974


What does sql server mean?

1061


What is Transparent Data Encryption?

1000


How many types of triggers in sql server?

1030


How can I track the changes or identify the latest insert-update-delete from a table?

956


How to rebuild all indexes on a single table?

1058


Types of Authentications in Sql Server? How user gets authenticated through windows authentication?

1051


What are truncate options available in sql server? : sql server database administration

1027


What is the osql utility?

956


John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?

942


Do you know what is normalization of database? What are its benefits?

1120


Explain hostprotectionattribute in sql server 2005?

1028


What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?

1046


Name some of the open source software that you can use in alternative to SSR?

161