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

Explain Geography datatype in SQL Server

1111


How do you size a resultset?

902


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

1067


how many bits ip address consist of? : Sql server database administration

883


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

990


What is @@rowcount in sql?

984


Which table keeps the locking information?

909


How to rename databases in ms sql server?

1178


How you can get the list of largest tables in a database?

994


You want to implement the one-to-one relationship while designing tables. How would you do it?

948


Distinguish between commit and rollback?

943


if no size is defined while creating the database, what size will the database have? : Sql server administration

979


What specific conditions database should meet, before you can bulk copy data into it using bcp?

967


How do you handle datasets larger than 50 gb?

162


Will the writetext statement activate a trigger?

1066