When a table is created, this option indicates whether a null is a valid value for the specified columns.
Valid in: | DATA and PROC steps |
Default: | data source-specific |
Supports: | DB2 under UNIX and PC, Greenplum, MySQL, ODBC, Oracle, Teradata |
specifies that the YES or NO applies to all columns in the table. (This is valid for Oracle and Teradata only.)
specifies that the YES or NO applies to the name a column or columns only.
specifies that a null is not valid for the specified columns in the table.
specifies that a null is not valid for the specified columns in the table.
data mydblib.mydept2(dbnull=(empid=no jobcode=no)); set mydblib.employees; run;
data mydblib.mydept3(dbnull=(_ALL_=no jobcode=YES)); set mydblib.employees; run;