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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user