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...


why varchar takes 2 extra bytes?

Answers were Sorted based on User's Feedback



why varchar takes 2 extra bytes?..

Answer / mirza baig

to store the exact no. of characters stored in the varchar

Is This Answer Correct ?    7 Yes 2 No

why varchar takes 2 extra bytes?..

Answer / yuvaevergreen

to store the length of the data in the variable..
>>when char is used, spaces are padded to the length of the
vraiable.
>>In varchar, spaces are not padded, exact data alone is
stored along with the length.

Is This Answer Correct ?    5 Yes 0 No

why varchar takes 2 extra bytes?..

Answer / quesanswer

Each VARCHAR has two extra bytes reserved for it. One bite
for the preceding NULL indicator and one trailing byte
because VARCHAR is implemented as a ZSTRING.

Is This Answer Correct ?    2 Yes 0 No

why varchar takes 2 extra bytes?..

Answer / kallol

The two bytes are for the number of bytes for the binary
length of the field

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Teradata Interview Questions

Highlight the need for Performance Tuning.

0 Answers  


How to explain project Architecture and flow in teradata interviews?Can please anyone help on this? Am new to teradata.

0 Answers   Infosys, Wells Fargo,


What is meant by a node?

0 Answers  


Hi, If anyone has TD 14 Basics dumps or study materials, please share. nirmaaal1991@gmail.com

0 Answers  


Does SDLC changes when you use Teradata instead of Oracle?

2 Answers  


what is the difference between bpo and call centre?

2 Answers   American Solutions,


Why are oltp database designs not generally a good idea for a data warehouse?

0 Answers  


What is Difference b/w PI & PPI?how to implement PPI?

3 Answers   Wipro,


Explain teradata vs. Redshift?

0 Answers  


If the PMON is not working then how do you manage and monitor all processes, resources and sessions etc.

0 Answers  


What do you mean by caching in teradata?

0 Answers  


write a query following data. 123.45 is input.write a query after decimal (ex:.45) load into database ?how it possible?

3 Answers   IBM,


Categories