1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-05 08:30:06 +00:00

fix: using byte codes to tidy up apostrophe logic, and new param for mf_getquotedstr macro

This commit is contained in:
munja
2021-12-06 00:12:36 +00:00
parent 6906f025d6
commit b13c33cbde
3 changed files with 22 additions and 20 deletions

View File

@@ -89,7 +89,7 @@ run;
%let tempvw=%mf_getuniquename(prefix=&sysmacroname);
proc sql;
create view work.&tempvw as select * from &lib..&ds
order by %mf_getquotedstr(&sortkey,quote=%str());
order by %mf_getquotedstr(&sortkey,quote=N);
/* append sorted data */
proc append base=&lib..&tempds2 data=work.&tempvw;