MySQL Forums
Forum List  »  Triggers

Re: How to Raise Error ?
Posted by: Roland Bouman
Date: February 24, 2006 12:42PM

Hi Andrew,

yes, just as I was doing my groceries (after submitting the post, grrrr) I thought about that one too. I mean, I would rather like MySQL check my code for non-existing tables, columns, procs etc before accepting the code, and I would not be surprised if that feature would be implemented someday (have you put up a feature request?).

And of course, the proc should be flagged vaild or invalid just like in Oracle. To top it off, I would really like something like DBA_DEPENDENCIES view, or the equivalents defined in the standard.

I'm a bit confused as to what you mean by 'the table method'. I thought we established three flavours of work-arounds to fora an error:

1) violate unique constraint as documented at mysqldevelopment.com ('emulating check constraints')
2) reference non-existant procedure (Zigmunds suggestion)
3) UDF (as documented in my blog)

Options: ReplyQuote


Subject
Views
Written By
Posted
25567
November 17, 2005 04:00AM
16900
November 17, 2005 06:58AM
23872
November 19, 2005 08:53AM
14684
February 23, 2006 02:28AM
10956
February 23, 2006 04:42AM
15685
February 24, 2006 08:28AM
8636
February 24, 2006 10:15AM
Re: How to Raise Error ?
6414
February 24, 2006 12:42PM
8044
February 27, 2006 08:56AM
6826
February 27, 2006 11:27AM
19038
February 28, 2006 05:22AM
6712
December 20, 2006 03:34AM
4222
November 18, 2008 08:28AM
4893
November 18, 2008 12:45PM
6370
December 19, 2006 11:00AM
5124
December 19, 2006 02:35PM
6386
December 19, 2006 07:53PM
4546
December 20, 2006 03:37AM
4763
December 19, 2006 11:01AM
5642
November 24, 2006 05:32AM
4605
November 24, 2006 07:02AM
3750
December 23, 2008 06:08AM
11484
February 25, 2006 11:48PM
5094
December 19, 2007 04:24AM
4110
December 24, 2008 01:02PM
4890
December 19, 2007 03:59AM
4777
December 19, 2007 05:09AM
3638
November 18, 2008 08:25AM
4024
November 18, 2008 12:49PM
6174
December 19, 2007 04:46AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.