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.

The LIBNAME Statement <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 DBCLIENT_MAX_BYTES= LIBNAME Option 119DBCLIENT_MAX_BYTES= LIBNAME OptionSpecifies the maximum number of bytes per single character in the database client encoding,which matches <strong>SAS</strong> encoding.Default value: always set to match the maximum bytes per single character of <strong>SAS</strong>session encoding (see “Details”)Valid in: <strong>SAS</strong>/<strong>ACCESS</strong> LIBNAME statementDBMS support: OracleSyntaxDBCLIENT_MAX_BYTES=max-client-bytesDetailsUse this option as the multiplying factor to adjust column lengths <strong>for</strong> CHAR andNCHAR columns <strong>for</strong> client encoding. In most cases, you need not set this optionbecause the default is sufficient.ExamplesThis example uses default values <strong>for</strong> all options.libname x1 &engine &connoptproc contents data=x1.char_sem; run;proc contents data=x1.nchar_sem; run;proc contents data=x1.byte_sem; run;proc contents data=x1.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!