Field
Types
and descriptions |
|
| Field Names |
Field Types |
Some Guidelines (please read):
You cannot use spaces in table or field names.
You need to set a type
for each field. This contains the most common types of table fields.
For Name, city, state,address and phone fields, use
theVARCHAR 64 or 128. For Email and URL fields, use VARCHAR(255) or TEXT types. For Zip code use a VARCHAR(32).
For raw numbers that will be part of numeric operations,
use the INT fields.
For fields that will hold less than say a page of
text, use the TEXT type. For more than a page, use the MEDIUMTEXT field.
For a field that is going to, well, hold a book, use the LONGTEXT. Don't
try to create a lot of 'overhead' by creating bigger fields than you
need by a wide margin. This will lessen the efficiency of your database.
You can see above what the TEXT type fields hold. It's a lot.
This form
creates a default, normally dynamic MyISAM table. For more information
on table types, click on a "Documentation" link in the MySQL
section of your control panel.
|
| Field
1:
|
|
| Field
2:
|
|
| Field
3:
|
|
| Field
4:
|
|
| Field
5:
|
|
| Field
6:
|
|
| Field
7:
|
|
| Field
8:
|
|
| Field
9:
|
|
| Field
10:
|
|
| Field
11:
|
|
| Field
12:
|
|
|
|