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.

The LIBNAME Statement <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 ADJUST_NCHAR_COLUMN_LENGTHS= LIBNAME Option 95ADJUST_NCHAR_COLUMN_LENGTHS= LIBNAME OptionSpecifies whether to adjust the lengths of CHAR or VARCHAR data type columns.Default value: YESValid in: <strong>SAS</strong>/<strong>ACCESS</strong> LIBNAME statementDBMS support: OracleSyntaxADJUST_NCHAR_COLUMN_LENGTHS=YES | NOSyntax DescriptionYESindicates that column lengths are multiplied by the DBSERVER_MAX_BYTES=value.NOindicates that column lengths that NCHAR or NVARCHAR columns specify aremultiplied by the maximum number of bytes per character value of the nationalcharacter set <strong>for</strong> the database.ExamplesNCHAR column lengths are no longer adjusted to client encoding whenADJUST_NCHAR_COLUMN_LENGTHS=NO, as shown in this example.libname x2 &engine &connopt ADJUST_NCHAR_COLUMN_LENGTHS=NO;proc contents data=x2.char_sem; run;proc contents data=x2.nchar_sem; run;proc contents data=x2.byte_sem; run;proc contents data=x2.mixed_sem; run;In this example, various options have different settings.libname x5 &engine &connopt ADJUST_NCHAR_COLUMN_LENGTHS=NOADJUST_BYTE_SEMANTIC_COLUMN_LENGTHS=NO DBCLIENT_MAX_BYTES=3;proc contents data=x5.char_sem; run;proc contents data=x5.nchar_sem; run;proc contents data=x5.byte_sem; run;proc contents data=x5.mixed_sem; run;This example also uses different settings <strong>for</strong> the various options.libname x6 &engine &connopt ADJUST_BYTE_SEMANTIC_COLUMN_LENGTHS=YESADJUST_NCHAR_COLUMN_LENGTHS=YES DBCLIENT_MAX_BYTES=3;proc contents data=x6.char_sem; run;proc contents data=x6.nchar_sem; run;proc contents data=x6.byte_sem; run;proc contents data=x6.mixed_sem; run;

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

Saved successfully!

Ooh no, something went wrong!