Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Size of database

Status
Not open for further replies.

teknogeek9

Programmer
Jan 6, 2001
47
US
Is a table with a varchar field size of 1000 bigger than a table with a varchar field size of 500? Or, is the size of the table defined by the actual amount of data in the varchar field?
 
It's the data that matters most. There are bits used to track the number of bytes used in a varchar, but it's negligible compared to the data itself. a

-------------------------
The trouble with doing something right the first time is that noboby appreciates how difficult it was.
- Steven Wright
 
varchar means variable length characters. It stores the characters in the field and the length of the field actually used to allocate the disk space.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top