Re: Liberating Dependent Subqueries
Posted by:
mnf
Date: December 03, 2006 08:18PM
Ok, I was just saying that example from original post by Shlomo Swidler doesn't work "as is":
--- quote ---
Well, I don’t have a "constify" function (more on this below), but I do have a "constify" stored procedure, which lets me do as follows:
mysql> call constify("SELECT tag_id FROM tags WHERE LOCATE('bunk', tag_text)>0", @result);
mysql> DELETE FROM book_tags WHERE tag_id IN ( @result );
--- end of quote ---
Subject
Views
Written By
Posted
14651
November 27, 2006 05:50PM
3896
November 28, 2006 12:57AM
3545
November 28, 2006 03:09AM
3484
November 28, 2006 06:29PM
4258
November 30, 2006 05:39PM
3162
December 01, 2006 09:35AM
2869
December 03, 2006 06:21PM
Re: Liberating Dependent Subqueries
2883
December 03, 2006 08:18PM
2895
December 05, 2006 06:11AM
4186
December 05, 2006 08:43AM
3934
December 07, 2006 06:26AM
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.