mirror of
https://github.com/sasjs/core.git
synced 2025-12-10 22:14:35 +00:00
feat: mp_getpk macro (and test). Extracts primary keys from a table or library and presents them at table level in the correct order (of cols within a constraint)
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
@param [in] lib= (WORK) The target library
|
||||
@param [in] ds= The target dataset. Leave blank (default) for all datasets.
|
||||
@param [in] mdebug= (0) Set to 1 to preserve temp tables, print var values etc
|
||||
@param [out] outds= (mp_getconstraints) the output dataset
|
||||
|
||||
<h4> SAS Macros </h4>
|
||||
@@ -33,6 +34,7 @@
|
||||
%macro mp_getconstraints(lib=WORK
|
||||
,ds=
|
||||
,outds=mp_getconstraints
|
||||
,mdebug=0
|
||||
)/*/STORE SOURCE*/;
|
||||
|
||||
%let lib=%upcase(&lib);
|
||||
|
||||
Reference in New Issue
Block a user