MySQL Forums
Forum List  »  Stored Procedures

Re: How to use a stored procedure in a select structure?
Posted by: Roland Bouman
Date: November 16, 2005 02:54PM

Jay, thanks for clearing that up.

However,

Jay Pipes wrote:
> in some WHERE conditions. But, stored procedures
> allow you to do much more than that in SQL Server.
> For instance, you could log something to a table
> and *then* return the resultset to be inserted
> into the table; something you can't do with a
> view...

You *CAN* do that in a view, see

http://rpbouman.blogspot.com/2005/08/mysql-create-dirty-little-tricker-for.html

and also:

http://datacharmer.blogspot.com/2005/10/sort-of-triggers-on-select.html

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

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.