×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On Mon, Feb 13, 2017 at 11:10 PM, Birgitta Hauser <Hauser@xxxxxxxxxxxxxxx>
wrote:
2. SQL tables never have a key (contrary to DDS described physical files).
For SQL tables AND DDS described tables primary and unique key constraints
can be defined
My only quibble is with the above statement...
SQL tables can and arguably must have a (primary) key; without a key, it's
not a relational table.
I understand you're trying to differentiate between a constraint and the
keyed access path of a DDS physical file.
However, a relational key is a logical component of a relational table.
The implementation details don't really matter. Besides, it's really just
a syntactical difference on the IBM i. Defining a SQL PK constraint on a
SQL tables gives you a *FILE object with a keyed access path just like
you'd get defining a unique key in the DDS for a PF.
Charles
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.