Re: user defined exceptions

2005-08-25 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leigh wrote: > Gleb Paharenko wrote: > >> Hello. >> >> There was a question about exceptions recently. The answer might be >> helpful: >> http://lists.mysql.com/mysql/188048 >> >> >> >> Leigh <[EMAIL PROTECTED]> wrote: >> >>> Hi All, >>> >>> I'm cur

Re: user defined exceptions

2005-08-25 Thread Gleb Paharenko
Hello. For a pity I'm not a JDBC expert. > > Hi, > > Thanks for that bit of info. This may be a stupid question, but how > exactly does setting the variable @err help me with my current > situation? Will this allow me to generate a JDBC Exception or is it > something I'll need

Re: user defined exceptions

2005-08-24 Thread Leigh
Gleb Paharenko wrote: Hello. There was a question about exceptions recently. The answer might be helpful: http://lists.mysql.com/mysql/188048 Leigh <[EMAIL PROTECTED]> wrote: Hi All, I'm currently working on porting a database form Informix 9.2 to MySQL 5 in order to determine the suitab

Re: user defined exceptions

2005-08-24 Thread Gleb Paharenko
Hello. There was a question about exceptions recently. The answer might be helpful: http://lists.mysql.com/mysql/188048 Leigh <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm currently working on porting a database form Informix 9.2 to MySQL 5 > in order to determine the suitability

user defined exceptions

2005-08-24 Thread Leigh
Hi All, I'm currently working on porting a database form Informix 9.2 to MySQL 5 in order to determine the suitability of MySQL for our application. At the moment, I'm stuck with one of our stored procs that contains the following lines: -- If duplicates are detected, raise an error IF count >