Previous Topic: %ChildPK()Next Topic: %ChildParamDecl()


%ChildPKDecl()

Lists the primary key elements and datatypes of the child entity in the relationship.

Syntax

%ChildPKDecl(<old prefix>, <new prefix>)

Syntax Example

%ChildPKDecl(,new)

Expansion

new_renting_customer INTEGER,

new_master_number INTEGER,

new_movie_copy_number INTEGER,

new_rental_record_date DATE

Full Syntax

%ChildPKDecl(<old prefix>, <new prefix>,<separator>, attribute/type separator>)

Full Syntax Example

%ChildPKDecl(,new,", "))

Expansion

new_renting_customer IN INTEGER,

new_master_number IN INTEGER,

new_movie_copy_number IN INTEGER,

new_rental_record_date IN DATE

Usage

Classified as a Relationship macro that you can use in RI or Rel Override, %ForEachParentRel, %ForEachChildRel.