1
0
mirror of https://github.com/sasjs/core.git synced 2026-04-21 15:31:31 +00:00

Compare commits

..

3 Commits

Author SHA1 Message Date
Allan Bowe 737eb65251 Merge pull request #415 from sasjs/sf
feat: snowflake support in mf_getschema
2026-02-18 19:01:37 +00:00
github-actions c50555a6e2 chore: updating all.sas 2026-02-18 17:23:52 +00:00
allan c69639a228 feat: snowflake support in mf_getschema 2026-02-18 17:23:25 +00:00
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1018,8 +1018,9 @@ or %index(&pgm,/tests/testteardown)
%local dsid vnum rc schema;
/* in case the parameter is a libref.tablename, pull off just the libref */
%let libref = %upcase(%scan(&libref, 1, %str(.)));
/* sysname can be 'Schema/Owner' or just 'Schema' (eg snowflake) */
%let dsid=%sysfunc(open(sashelp.vlibnam(where=(
libname="%upcase(&libref)" and sysname='Schema/Owner'
libname="%upcase(&libref)" and sysname=:'Schema'
)),i));
%if (&dsid ^= 0) %then %do;
%let vnum=%sysfunc(varnum(&dsid,SYSVALUE));
+2 -1
View File
@@ -25,8 +25,9 @@
%local dsid vnum rc schema;
/* in case the parameter is a libref.tablename, pull off just the libref */
%let libref = %upcase(%scan(&libref, 1, %str(.)));
/* sysname can be 'Schema/Owner' or just 'Schema' (eg snowflake) */
%let dsid=%sysfunc(open(sashelp.vlibnam(where=(
libname="%upcase(&libref)" and sysname='Schema/Owner'
libname="%upcase(&libref)" and sysname=:'Schema'
)),i));
%if (&dsid ^= 0) %then %do;
%let vnum=%sysfunc(varnum(&dsid,SYSVALUE));