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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

548 Data Types <strong>for</strong> Greenplum 4 Chapter 173 A name can contain as many as 128 characters.3 The first character in a name can be a letter or @, _, or #.3 A name cannot be a Greenplum reserved word, such as WHERE or VIEW.3 A name must be unique within each type of each object.For more in<strong>for</strong>mation, see the Greenplum Database Administrator Guide.Data Types <strong>for</strong> GreenplumOverviewEvery column in a table has a name and a data type. The data type tells Greenplumhow 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 Greenplum data types, null anddefault values, and data conversions.For more in<strong>for</strong>mation about Greenplum data types and to determine which datatypes are available <strong>for</strong> your version of Greenplum, see the Greenplum DatabaseAdministrator Guide.<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Greenplum does not directly support any data types thatare not listed below. Any columns using these types are read into <strong>SAS</strong> as characterstrings.String DataCHAR(n)specifies a fixed-length column <strong>for</strong> character string data. The maximum length is32,767 characters. If the length is greater than 254, the column is a long-stringcolumn. SQL imposes some restrictions on referencing long-string columns. Formore in<strong>for</strong>mation about these restrictions, see the Greenplum DatabaseAdministrator Guide.VARCHAR(n)specifies a varying-length column <strong>for</strong> character string data. The maximum lengthis 32,767 characters. If the length is greater than 254, the column is a long-stringcolumn. SQL imposes some restrictions on referencing long-string columns. Formore in<strong>for</strong>mation about these restrictions, see the Greenplum DatabaseAdministrator Guide.LONG VARCHAR(n)specifies a varying-length column <strong>for</strong> character string data. The maximum size islimited by the maximum size of the database file. To determine the maximum sizeof your database, see the Greenplum Database Administrator Guide.Numeric DataBIGINTspecifies a big integer. Values in a column of this type can range from–9,223,372,036,854,775,808 to +9,223,372,036,854,775,807 .

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

Saved successfully!

Ooh no, something went wrong!