English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

what is a field size/lenght

2007-03-20 03:13:21 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

Well each field has a DataType. Sometimes the datatype can allow a field size.

For example under MS-SQL Server & MySql, the datatype VARCHAR can be given a size to limit the number of characters that can be stored in the column.

On the other hand, other datatypes do not allow this. For example, it is known that an INT type in MS-SQL server requires 4 bytes hence it's size is 4 and cannot be changed.

Hope this helps

2007-03-20 03:40:19 · answer #1 · answered by Smutty 6 · 0 0

If you're talking about database fields, it describes the size of data that the field can hold. This can mean different things for different data types. need more info.

If you're talking about HTML text fields, the size is the visual width and the maxlength is the max number of characters you can enter.

2007-03-20 10:21:01 · answer #2 · answered by Fabian 2 · 0 0

http://msdn2.microsoft.com/en-us/library/aa196741(sql.80).aspx

chk this out

2007-03-20 10:19:06 · answer #3 · answered by Milind 2 · 0 0

fedest.com, questions and answers