Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Catch errors with Sql.Execute
Catch errors with Sql.Execute [message #15454] Thu, 24 April 2008 19:30 Go to next message
indiocolifa is currently offline  indiocolifa
Messages: 49
Registered: January 2008
Location: Argentina
Member
I'm using sql.Execute for many queries on my project.

I've noted that Execute does not throw SqlExc exceptions.

How I can catch errors from the execution of those queries?

Thank you.
Re: Catch errors with Sql.Execute [message #15456 is a reply to message #15454] Thu, 24 April 2008 21:08 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

ExecuteX throws exception, use & instead * if you prefer operators and exceptions.
Re: Catch errors with Sql.Execute [message #15472 is a reply to message #15456] Fri, 25 April 2008 17:41 Go to previous message
indiocolifa is currently offline  indiocolifa
Messages: 49
Registered: January 2008
Location: Argentina
Member
Thank you very much!
Previous Topic: Using SQL in multiple source files
Next Topic: PostgreSQL Support Classes [Experimental]
Goto Forum:
  


Current Time: Sun Apr 28 22:59:43 CEST 2024

Total time taken to generate the page: 0.05059 seconds