SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 70687: Generating a list of Snowflake tables might be done at the account level and not the database or schema level

DetailsHotfixAboutRate It

Trying to display a list of Snowflake tables is often accomplished via the Snowflake SHOW command. However, the SHOW command might not be scoped to the database or schema level when the following are true:

  • You are using SAS/ACCESS® Interface to Snowflake.
  • You are using a LIBNAME statement to connect to Snowflake.
  • You make actions such as the DATASETS procedure, the CONTENTS procedure with DATA=libref._all_, expanding the libref, trying to register tables using SAS® Management Console, using some of the dictionary tables, and so on.
  • The database specified using the DATABASE= option or the schema specified using the SCHEMA= option contains an underscore.

The issue occurs because the underscore character is not being properly escaped, so a wider search for tables occurs, which affects performance. There is no workaround for this issue.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to SnowflakeMicrosoft® Windows® for x649.4 TS1M6
Linux for x649.4 TS1M6
SAS SystemSAS/ACCESS Interface to Snowflake (on SAS Viya)Linux for x64V.03.04Stable 2024.02ViyaViya
Microsoft® Windows® for x64V.03.04Viya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.