× 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 10/14/2016 12:54 PM, Sue Romano wrote:
I don't think you can get what you are looking for.

Actually, I'm not looking for that at all ... just trying to understand the trigger name rules.

The help text for the TRG parameter on ADDPFTRG isn't very clear. The way I read it, it's saying that trigger names can be 128 characters or 258 if surrounded by double quotes. Clearly that's not the case.

"You can specify a maximum of 128 characters without delimiters or 258 characters with quotation mark (") delimiters."

Here is an example with some embedded delimiters.

Use the name this way in SQL: "delimiters""in"" the""name" The
actual name is: delimiters"in"the"name

The actual SQL name (as shown in any of the catalog views) can still
never be longer than 128 characters. But technically names could
contain up to 258 characters prior to un-delimiting them.

Yes, that's what I'm understanding now.

The only way you could use a full 258 characters in the TRG parameter is to fill it with double quotes ... which would be rather ridiculous IMO.

Thanks!

david


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.