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



I can explain this one. All SQL names can be up to 128 long when
delimiters are removed. For any " in a name, the delimited form of the
name must have that character doubled. So you could have a name with 128
" characters. To use that name in an SQL statement, you would need to
double each of the " and then add delimiters on the outside - for a total
of 258 " characters.

Folks:

OK, this is driving me a bit crazy.

The online help for the ADDPFTRG command says you can specify a 256
character trigger name if you surround it with double quotes. But I
haven't been able to do this.

Back in August, Chuck Pence mentioned ...

Given the catalog files limit SQL identifiers to 128 characters, I
suspect the reference to 258 may be an error;

Also, the SYSTRIGGER table allows 128 characters for a trigger name, so
I'm thinking Chuck is correct.

Can anyone create a trigger on a PF with a name longer than 128?

Any time I try to do so I get a CPD32E7 with RC 8.

Thanks!

david


Sue Romano
IBM i SQL Development



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.