Table Creation

Post Reply
steffler
Posts: 4
Joined: Tue Oct 07, 2003 12:14 pm

Table Creation

Post by steffler »

Under the URL: http://www.thunderstone.com/site/texism ... 0000000000

The paragraph:
The 100 character suggestion in this case is used for memory allocation, rather than field length limitation. Therefore a VARCHAR length should be entered as the average, rather than the largest size for that field. Entering an extremely large length to accommodate one or two unusual entries would impair the handling of memory for normal operations.

If you had indeed followed this suggestion and entered the varchar(2000) as noted and a user entered 2100 characters What would happen?
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Table Creation

Post by John »

The 2100 characters would be stored, and it would work the same as if you had said varchar(4000).
John Turnbull
Thunderstone Software
Post Reply