BookmarkSubscribeRSS Feed
RA_SAS
Calcite | Level 5

Hi,

 

I was successful in creating the libname statement to connect to Snowflake but whenever I try to access a table it is giving an error saying ' ERROR: File MYDBLIB.cars.DATA does not exist.'. Below is the code which I used

 

LIBNAME mydblib snow server="snowflakecomputing.com" warehouse=WH_ALL_L
database=DB_Name schema=SCH_Name user="XXXX" password="XXXX";

 

proc sql outobs=50000;
create table work.test1 as
select * from mydblib.cars;
run;

 

' ERROR: File MYDBLIB.cars.DATA does not exist.'.

 

 

 

1 REPLY 1
SASKiwi
PROC Star

Are you sure there is a table called cars in Snowflake? You can run this to check table names:

proc datasets library = mydblib nolist;
contents data = _all_ nods ;
run;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 904 views
  • 0 likes
  • 2 in conversation