![]() | ![]() | ![]() | ![]() | ![]() |
When a character column in Snowflake has an undefined length, SAS assigns the column a length of 32,767 characters. When you create a SAS data set, the variable length is based on the length that is returned from the Snowflake ODBC driver. By design, Snowflake uses the length of the actual character string contained in the column. However, that length is not scanned or returned when you query the column through the ODBC driver. As a result, the column returns the maximum allowed length for a column in Snowflake, which is then truncated to the maximum SAS length for a character variable.
To circumvent this issue, complete any of the following workarounds:
Click the Hot Fix tab in this note to access the hot fix for this issue.
After you apply the hot fix, you can use the LIBNAME option, SCANSTRINGCOLUMNS=YES.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS/ACCESS Interface to Snowflake | Microsoft® Windows® for x64 | 9.42 | 9.43 | 9.4 TS1M7 | 9.4 TS1M8 |
Linux for x64 | 9.42 | 9.43 | 9.4 TS1M7 | 9.4 TS1M8 |