×
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.
Take a little time to learn to (find and) read the syntax diagrams offered
in Infocenter:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fdb2%2Frbafzmsthctabl.htm
It's not that hard, just follow the lines and arrows. You will see that
use of the as-subquery-clause precludes specification of constraints in the
create table statement. As suggested by others, create the table, then use
alter table to add primary key constraint.
But none of this helps your case as it seems tables QTEMP are not allowed
to have constraints. You can, however, create a unique index in QTEMP over
your table in QTEMP.
On Thu, Dec 20, 2012 at 2:28 PM, Stone, Joel <Joel.Stone@xxxxxxxxxx> wrote:
Trying to create a file with a primary key.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.