Production Ready Macros for SAS Application Developers File Reference

Creates constraints. More...

Go to the source code of this file.

Detailed Description

Takes the output from as input

  proc sql;
  create table work.example(
    TX_FROM float format=datetime19.,
    DD_TYPE char(16),
    DD_SOURCE char(2048),
    DD_SHORTDESC char(256),
    constraint pk primary key(tx_from, dd_type,dd_source),
    constraint unq unique(tx_from, dd_type),
    constraint nnn not null(DD_SHORTDESC)

inds=The input table containing the constraint info
outds=a table containing the create statements (create_statement column)
execute=YES|NO - default is NO. To actually create, use YES.

SAS Macros

Allan Bowe

Definition in file