Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 4 of 4 total |
Exceptions in EDBManager |
Mon, Feb 9 2009 9:38 AM | Permanent Link |
Uli Becker | Hi,
I wrote a script that creates some temporary tables. Since I don't know if the tables exist or not, I embedded the code in a begin - exception - end block. During runtime that works fine, but in EDBManager an exception is raised every time if the table already exists, even with "Stop on Exeptions" set to false. Is that the normal behaviour? Regards Uli |
Mon, Feb 9 2009 6:31 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< During runtime that works fine, but in EDBManager an exception is raised every time if the table already exists, even with "Stop on Exeptions" set to false. >> Is the execution of the script actually stopping, or is it just reporting the exception ? It should always report the exception, but stop only if you have Pause on Exceptions checked. -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Feb 10 2009 1:52 AM | Permanent Link |
Uli Becker | Tim,
> Is the execution of the script actually stopping, or is it just reporting > the exception ? It should always report the exception, but stop only if you > have Pause on Exceptions checked. It's not clear. In the status-bar it says "The scipt was executed successfully..." On the gutter there is a Stop-icon, not the pause-icon. I am creating 2 tables, thus the exception should be raised twice when they exist. This is the case when "Pause on Exceptions" is checked. If not, the exception is reported only for the second table. I posted the sql into the binaries. Regards Uli |
Tue, Feb 10 2009 6:50 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< It's not clear. In the status-bar it says "The scipt was executed successfully..." On the gutter there is a Stop-icon, not the pause-icon. I am creating 2 tables, thus the exception should be raised twice when they exist. This is the case when "Pause on Exceptions" is checked. If not, the exception is reported only for the second table. >> Okay, I see what you're saying now. This is just the way that it was designed, but I'll see if I can stop if from showing the last exception if there is an EXCEPTION block in effect. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |