× 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.



Thanks you,

 

Curt

 

 

 

*              Subject: RE: CREATE TABLE on iSeries 

*              From: "Hauser, Birgitta" <Birgitta.Hauser@xxxxxxxxxxx> 

*              Date: Wed, 17 Jan 2007 16:13:12 +0100 

*              

 

Hi,
 
I assume you add IF NOT EXIST at the end of the CREATE TABLE command.
This syntax is not allowed for DB2 UDB for iSeries.
You either have to drop an existing table before recreating it, or
you'll
get an error if it already exists.
 
You'll find the syntax for all SQL statements in the SQL Reference in
the
iSeries Information Center.
The syntax for the CREATE TABLE Statement under Release V5R2 can be
found
here:
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/db2/rba
fzms
thctabl.htm#HDRHCTABL
 
Birgitta
-----Original Message-----
From: midrange-l-bounces+birgitta.hauser=lp-gmbh.com@xxxxxxxxxxxx
[mailto:midrange-l-bounces+birgitta.hauser=lp-gmbh.com@xxxxxxxxxxxx] On
Behalf Of Curt Vancalster
Sent: Wednesday, January 17, 2007 15:57
To: midrange-l@xxxxxxxxxxxx
Subject: CREATE TABLE on iSeries
 
I am running V5R2 and am trying to do a CREATE TABLE within SQL.  I can
get that to work just fine but when I add the IF NOT EXIST clause it
will not work.  Is this clause valid on the iSeries?  I took a look on
IBM's website and I don't see it anywhere.  Can someone either confirm
that this is not a valid clause or let me know what the syntax is?
 
Thanks,
 
Curt VanCalster

 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.