1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-17 21:40:06 +00:00

Update mp_getddl.sas

This commit is contained in:
rafgag
2020-08-04 11:34:19 +02:00
parent 1373957031
commit 958f509894

View File

@@ -74,7 +74,7 @@ quit;
%mp_getconstraints(lib=%upcase(&libref),ds=%upcase(&ds),outds=_data_) %mp_getconstraints(lib=%upcase(&libref),ds=%upcase(&ds),outds=_data_)
%local colconst; %let colconst=&syslast; %local colconst; %let colconst=&syslast;
%macro addConst; %macro addConst();
data _null_; data _null_;
length ctype $11; length ctype $11;
set &colconst (where=(table_name="&curds" and constraint_type in ('PRIMARY','UNIQUE'))) end=last; set &colconst (where=(table_name="&curds" and constraint_type in ('PRIMARY','UNIQUE'))) end=last;