
Signature
Roy
UK Ingres User Association Conference 2009 will be on Tuesday June 9, 2009
Go to http://www.iua.org.uk/join to get on the mailing list.
>>> Right up until he gets an error in a transaction that updated a
>>> temporary table, at which point the table vanishes.
[quoted text clipped - 9 lines]
> silly thing to do. Or the behaviour might be dictated by the ISO/ANSI
> standard. Don't know.
I don't believe the standard says anything on the topic.
I've occasionally wanted a "keep on error" style of gtt, where
instead of dropping the table, the contents are simply retained
in whatever state they happen to be in. I haven't wanted it
often enough to actually do it, though.
If we had table-producing database procedures (ahem cough cough),
then my suggestion would be some sort of new built-in DB procedure
that produces iitables-like rows for transient objects like
temporary tables. Lacking that, I'll stick to my hack of a
trial select on a bogus column and check the error code for
nonexistent column vs nonexistent table.
Karl
Roy Hann - 11 Jul 2008 23:49 GMT
Or the behaviour might be dictated by the ISO/ANSI
>> standard. Don't know.
>
> I don't believe the standard says anything on the topic.
I was pretty sure it didn't, but I'm often surprised by it.
> If we had table-producing database procedures (ahem cough cough),
Doug was showing his progress with them at the IUA conference. His
slides aren't publicly available yet though.

Signature
Roy
UK Ingres User Association Conference 2009 will be on Tuesday June 9, 2009
Go to http://www.iua.org.uk/join to get on the mailing list.