Primary Key SyntaxSyntax: PRIMARY KEY OF dataset IS (keyitems)
Example: The following example uses all of the key words and only one data item: Primary Key of CUSTOMER is (CUST-ID) The following example does not use the optional key words; it does, however, use a combination of data items to create a primary key. KEY ORDER-DETAIL ( ORD-NBR, LINE-NBR ) | ||||||||||||||
|