Preserves spaces, special characters, use of reserved words, and case sensitivity in column names when you create tables.
Valid in: | LIBNAME statement (when you create tables) |
Default: | NO |
Supports: | All |
specifies that column names that are used in table creation are derived from SAS column names by using the SAS column name normalization rules. (For more information see VALIDVARNAME= System Option.) However, the data source applies its specific normalization rules to the SAS column names when creating the column names.
specifies that column names that are used in table creation are passed to the data source with any special characters, reserved words, and the exact, case-sensitive spelling of the name preserved.
proc sql dquote=ansi; select "Total$Cost" from mydblib.mytable;
proc print data=mydblib.mytable; format 'Total$Cost'n 22.2;
libname mydblib fedsvr server="d1234.us.company.com" port=2171 user=user1 pwd=pass1 dsn=oradsn dsnuid=orauser dsnpwd=orapwd preserve_col_names=yes; proc sql dquote=ansi; create table mydblib.mytable ("my$column" int);