×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Phil, it appears that compound statements like this are only possible inside an SQL procedure, which, as you probably know, is callable via JDBC. I was thinking you could do this and debug for testing - iSeries is supposed to have stuff to handle that now.

Oh, well, eh?

Vern

At 02:32 PM 10/7/2003 -0500, you wrote:
Thanks Vern.

I'd love to do it that way, but I need the SQL out of the database, not in a procedure. If I can't find this out (in other online fora) then I'll have to bit the bullet and have real differences for different DB's. Trust DB2 to be the black sheep again eh ?

--phil

> -----Original Message-----
> From: Vern Hamberg [mailto:vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, October 07, 2003 2:12 PM
> To: Midrange Systems Technical Discussion
> Subject: RE: Create a missing table in SQL ?
>
>
> Phil, maybe try to create a function or procedure of this
> code, then call
> it?



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2026 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.