SAS Component Language Dictionary |
Category: | SAS Table |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
ictype=ICTYPE(table-id,icname); |
contains the type of integrity constraint that is returned. The constraints are listed below and are defined in ICCREATE:
contains the identifier for the SAS table, which is returned by the OPEN function.
Details |
ICTYPE returns the type of integrity constraint for a SAS table when you specify the name of the constraint.
Example |
Return the type of the UQ integrity constraint that is assigned to the SAS table MYLIB.ONE. Because the constraint UQ (which was created in the example for ICCREATE) was UNIQUE, the value of TYPE will be UNIQUE.
tableid=open('mylib.one','i'); type=ictype(tableid,'uq'); ...more SCL statements... rc=close(tableid);
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.