× 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 31-Aug-2016 15:03 -0700, Peter Dow wrote:
I'm thinking I'll change the program to just use SQL for everything,
since it's simpler.

Depending on what is being coded, the so-called SELECT FROM INSERT syntax might be a [preferable] workable alternative to the IDENTITY_VAL_LOCAL function.

IBM i 7.2->Database->Reference->SQL reference->Built-in functions->Scalar functions->IDENTITY_VAL_LOCAL
"…
Alternative to IDENTITY_VAL_LOCAL:

It is recommended that a SELECT FROM INSERT be used to obtain the assigned value for an identity column. See [table-reference](http://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/db2/rbafztabref.htm) for more information.
…"


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