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

How to call stored procedure using http soap?

999


How do I get Report Builder to generate a parameter that can be set by users viewing the report?

139


What are the source of constraints?

858


What is the use of “join” in sql server?

1018


What is implicit mode in sql server?

1028


What are page splits?

958


What is the difference between Triggers and Stored Procedure?

1031


What is unpivot?

968


What is use of except clause? How does it differ from not in clause?

962


How do I install sql server?

845


How can we improve performance by using SQL Server profiler?

985


What is always encrypted?

940


Why union all is faster than union?

865


Beginning with sql server version 7 0, a new enhanced data type nchar was added what type of data is supported with this data type?

963


What security features are available for stored procedure?

986