By default, the
SAS/ACCESS
interface for your DBMS converts each SAS data type to a predetermined
DBMS data type when it outputs data to your DBMS. When you need a
different data type, use DBTYPE= to override the default data type
chosen by the
SAS/ACCESS engine.
You can also use this
option to specify column modifiers. The allowable syntax for these
modifiers is generally DBMS-specific. For more information, see the
SQL reference for your database.
- MySQL:
-
All text strings are
passed as is to the MySQL server. MySQL truncates text strings to
fit the maximum length of the field without generating an error message.
- Teradata:
-
In Teradata, you can
use DBTYPE= to specify data attributes for a column. See your Teradata
CREATE TABLE documentation for information about the data type attributes
that you can specify. If you specify DBNULL=NO for a column, do not
also use DBTYPE= to specify NOT NULL for that column. If you do, NOT
NULL is inserted twice in the column definition. This causes Teradata
to generate an error message.