October 2013
Beginner to intermediate
270 pages
5h 41m
English
Many application databases will use surrogate keys as a means of uniquely identifying rows in a table. As a result of this, it is often necessary to capture the surrogate key for the record after writing a record, so that any associated child elements will be able to reference the parent's surrogate as a foreign key. This recipe shows one method of creating surrogate keys in a relation and later discusses few more methods.
Many aspects of this job should be familiar, especially if you have completed the previous recipes in this chapter, so only a few key points have been highlighted.
Open the job jo_cook_ch07_0110_surrogateKeys.
The steps to be performed are as follows: ...
Read now
Unlock full access