When would you prefer to use VARCHAR?

Answer Posted / s

The obvious benefit is savings in disk space. Thus reduced
row length means more rows per page which means lesser
getpages. Fewer getpages mean less locks hence less CPU
costs and less I/O. Use of VARCHAR reduces the number of
bytes passed between DB2 and application. There is a CPU
cost associated with each byte of data moved.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bind and rebind in db2?

652


What is syscat in db2?

582


i want to maintain uniqueness on pdf without make lf??????????

1637


Explain various types of locks in db2?

694


How do I add a column to a table in db2?

625






what is the sqlcode -501

11314


How connect db2 database to datastage?

767


What is the use of value function?

629


What is database manager in db2?

555


What is db2 look?

582


Mention the various locks that are available in db2.

618


What r the comman abends in db2, jcl and cobol???????

1820


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

716


Explain what are the various isolation levels possible?

612


What are db2 tables?

649