mirror of
https://github.com/sasjs/core.git
synced 2025-12-11 06:24:35 +00:00
chore: updating header info
This commit is contained in:
@@ -4,22 +4,22 @@
|
|||||||
@details Useful for capturing constraints before they are dropped / reapplied
|
@details Useful for capturing constraints before they are dropped / reapplied
|
||||||
during an update.
|
during an update.
|
||||||
|
|
||||||
proc sql;
|
proc sql;
|
||||||
create table work.example(
|
create table work.example(
|
||||||
TX_FROM float format=datetime19.,
|
TX_FROM float format=datetime19.,
|
||||||
DD_TYPE char(16),
|
DD_TYPE char(16),
|
||||||
DD_SOURCE char(2048),
|
DD_SOURCE char(2048),
|
||||||
DD_SHORTDESC char(256),
|
DD_SHORTDESC char(256),
|
||||||
constraint pk primary key(tx_from, dd_type,dd_source),
|
constraint pk primary key(tx_from, dd_type,dd_source),
|
||||||
constraint unq unique(tx_from, dd_type),
|
constraint unq unique(tx_from, dd_type),
|
||||||
constraint nnn not null(DD_SHORTDESC)
|
constraint nnn not null(DD_SHORTDESC)
|
||||||
);
|
);
|
||||||
|
|
||||||
%mp_getconstraints(lib=work,ds=example,outds=work.constraints)
|
%mp_getconstraints(lib=work,ds=example,outds=work.constraints)
|
||||||
|
|
||||||
@param lib= The target library (default=WORK)
|
@param [in] lib= (WORK) The target library
|
||||||
@param ds= The target dataset. Leave blank (default) for all datasets.
|
@param [in] ds= The target dataset. Leave blank (default) for all datasets.
|
||||||
@param outds the output dataset
|
@param [out] outds= (mp_getconstraints) the output dataset
|
||||||
|
|
||||||
<h4> SAS Macros </h4>
|
<h4> SAS Macros </h4>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user