On 18 May 2012 06:21, Jon Paris wrote:
I thought that I could use the short column names in an SQL trigger
but it seems it will only accept the long names. Is this a V6 change
or am I suffering a brain f*** or just missing something?

Many releases ago I had concluded that was a restriction... although I almost always had to re-encounter the SQL0312 to remind myself; I tend to rely on a short-name to make my SQL statements more compact when composed for sharing. And although there was no change in the function...

Eventually in the v6r1 CREATE TRIGGER documentation came:
Start of change>>All transition variable names are column names of the subject table. System column names of the subject table cannot be used as transition variable names.<<End of change

Regards, Chuck

This thread ...


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

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