13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>SAS</strong>/<strong>ACCESS</strong> Interface <strong>for</strong> MySQL 4 Character Data 615Data Types <strong>for</strong> MySQLOverviewEvery column in a table has a name and a data type. The data type tells MySQLhow much physical storage to set aside <strong>for</strong> the column and the <strong>for</strong>m in which the datais stored. This section includes in<strong>for</strong>mation about MySQL data types and dataconversions.Character DataBLOB (binary large object)contains binary data of variable length up to 64 kilobytes. Variables entered intocolumns of this type must be inserted as character strings.CHAR (n)contains fixed-length character string data with a length of n, where n must be atleast 1 and cannot exceed 255 characters.ENUM (“value1”, “value2”, “value3”,...)contains a character value that can be chosen from the list of allowed values. Youcan specify up to 65535 ENUM values. If the column contains a string notspecified in the value list, the column value is set to “0”.LONGBLOBcontains binary data of variable length up to 4 gigabytes. Variables entered intocolumns of this type must be inserted as character strings. Available memoryconsiderations might limit the size of a LONGBLOB data type.LONGTEXTcontains text data of variable length up to 4 gigabytes. Available memoryconsiderations might limit the size of a LONGTEXT data type.MEDIUMBLOBcontains binary data of variable length up to 16 megabytes. Variables entered intocolumns of this type must be inserted as character strings.MEDIUMTEXTcontains text data of variable length up to 16 megabytes.SET (“value1”, “value2”, “value3”,...)contains zero or more character values that must be chosen from the list ofallowed values. You can specify up to 64 SET values.TEXTcontains text data of variable length up to 64 kilobytes.TINYBLOBcontains binary data of variable length up to 256 bytes. Variables entered intocolumns of this type must be inserted as character strings.TINYTEXTcontains text data of variable length up to 256 bytes.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!