<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MySQL Stored Procedures problems and use practices</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:23:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: wastnakodakalaranaperunikeduku</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-679872</link>
		<dc:creator>wastnakodakalaranaperunikeduku</dc:creator>
		<pubDate>Thu, 19 Nov 2009 14:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-679872</guid>
		<description>hi bad programes,

I think every one is not stating from mysql as first db. It is very cool and very good db architecture . 

in every pl/sql server is poor debugging . not only mysql . I am working mysql good clients like google , facebook it is free .

wast fellow don&#039;t descrese othere . mysql is 4 rank database</description>
		<content:encoded><![CDATA[<p>hi bad programes,</p>
<p>I think every one is not stating from mysql as first db. It is very cool and very good db architecture . </p>
<p>in every pl/sql server is poor debugging . not only mysql . I am working mysql good clients like google , facebook it is free .</p>
<p>wast fellow don&#8217;t descrese othere . mysql is 4 rank database</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mine</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-656780</link>
		<dc:creator>mine</dc:creator>
		<pubDate>Wed, 23 Sep 2009 20:33:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-656780</guid>
		<description>Can I use a variable name from a cursor loop in an update statement within said loop ... in a trigger?

OPEN cursor1;
cursor_loop:LOOP
	FETCH cursor1 INTO l_customer_name;
	IF l_last_row_fetched=1 THEN
		LEAVE cursor_loop;
	END IF;
	UPDATE l_customer_name SET active = 1 WHERE customer_id = NEW.id;
END LOOP cursor_loop;
CLOSE cursor1;

right now, when i run this, i get &#039;l_customer_name&#039; table does not exist.</description>
		<content:encoded><![CDATA[<p>Can I use a variable name from a cursor loop in an update statement within said loop &#8230; in a trigger?</p>
<p>OPEN cursor1;<br />
cursor_loop:LOOP<br />
	FETCH cursor1 INTO l_customer_name;<br />
	IF l_last_row_fetched=1 THEN<br />
		LEAVE cursor_loop;<br />
	END IF;<br />
	UPDATE l_customer_name SET active = 1 WHERE customer_id = NEW.id;<br />
END LOOP cursor_loop;<br />
CLOSE cursor1;</p>
<p>right now, when i run this, i get &#8216;l_customer_name&#8217; table does not exist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MD. Rayhan Chowdhury</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-643541</link>
		<dc:creator>MD. Rayhan Chowdhury</dc:creator>
		<pubDate>Mon, 31 Aug 2009 06:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-643541</guid>
		<description>I had very bad experience with mysql stored procedure and triggers. I think mysql should provide a tool for stored procedure programming with debug facility.</description>
		<content:encoded><![CDATA[<p>I had very bad experience with mysql stored procedure and triggers. I think mysql should provide a tool for stored procedure programming with debug facility.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-357948</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Fri, 26 Sep 2008 00:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-357948</guid>
		<description>oops, meant 
DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN
    -- in here, how do I see what the error was, and what message MySQL would have returned?
  END;</description>
		<content:encoded><![CDATA[<p>oops, meant<br />
DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN<br />
    &#8212; in here, how do I see what the error was, and what message MySQL would have returned?<br />
  END;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-357947</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Fri, 26 Sep 2008 00:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-357947</guid>
		<description>Inside DECLARE EXIT HANDLER ON SQLEXCEPTION, is there any way to find the error code and/or message that MySQL would have returned to the caller if the handler wasn&#039;t there?

Or is it necessary to write an individual handler for each and every possible error code in each and every stored procedure...</description>
		<content:encoded><![CDATA[<p>Inside DECLARE EXIT HANDLER ON SQLEXCEPTION, is there any way to find the error code and/or message that MySQL would have returned to the caller if the handler wasn&#8217;t there?</p>
<p>Or is it necessary to write an individual handler for each and every possible error code in each and every stored procedure&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yukipupu</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-357627</link>
		<dc:creator>yukipupu</dc:creator>
		<pubDate>Wed, 24 Sep 2008 19:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-357627</guid>
		<description>hi im yukipupu.  i problem have java procedure stored.  two day is my first time.  plz me help give.</description>
		<content:encoded><![CDATA[<p>hi im yukipupu.  i problem have java procedure stored.  two day is my first time.  plz me help give.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saleem</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-357134</link>
		<dc:creator>saleem</dc:creator>
		<pubDate>Mon, 22 Sep 2008 16:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-357134</guid>
		<description>harpreet,

You have problem concern with stored procedure as do I too very much.  Java stored procedure create does work not.  Plz me help too.</description>
		<content:encoded><![CDATA[<p>harpreet,</p>
<p>You have problem concern with stored procedure as do I too very much.  Java stored procedure create does work not.  Plz me help too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harpreet</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-355517</link>
		<dc:creator>harpreet</dc:creator>
		<pubDate>Tue, 16 Sep 2008 12:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-355517</guid>
		<description>hi im harpreet. my problem concern to stored procedure.i m unable to create stored procdure in java.........and after wards i wanna to access stored procdure............</description>
		<content:encoded><![CDATA[<p>hi im harpreet. my problem concern to stored procedure.i m unable to create stored procdure in java&#8230;&#8230;&#8230;and after wards i wanna to access stored procdure&#8230;&#8230;&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harpreet</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-355516</link>
		<dc:creator>harpreet</dc:creator>
		<pubDate>Tue, 16 Sep 2008 12:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-355516</guid>
		<description>hi im harpreet. my problem concern to stored procedure.i m unable to create stored procdure.........so plz help me</description>
		<content:encoded><![CDATA[<p>hi im harpreet. my problem concern to stored procedure.i m unable to create stored procdure&#8230;&#8230;&#8230;so plz help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/comment-page-1/#comment-333533</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 24 Jul 2008 04:19:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/06/12/mysql-stored-procedures-problems-and-use-practices/#comment-333533</guid>
		<description>I completely agree.  MySQL is clearly sub-par in many aspects, specifically the development tools.  DECLARE statements that work in some contexts and not others, variable initialization inconsistencies, lack of debugging ability in the provided tools, IF/CONDITIONAL confusion, operator confusion ( :=/= ), and the list goes on an on.  Maybe they should hire Anders Hejlsberg to fix this lemon.  My guess is Sun will make this better but then charge for tools that target real devs.  

They&#039;re very fortunate it&#039;s a free tool.  Otherwise I&#039;m quite sure it would have been abandon years ago.


Andrew</description>
		<content:encoded><![CDATA[<p>I completely agree.  MySQL is clearly sub-par in many aspects, specifically the development tools.  DECLARE statements that work in some contexts and not others, variable initialization inconsistencies, lack of debugging ability in the provided tools, IF/CONDITIONAL confusion, operator confusion ( :=/= ), and the list goes on an on.  Maybe they should hire Anders Hejlsberg to fix this lemon.  My guess is Sun will make this better but then charge for tools that target real devs.  </p>
<p>They&#8217;re very fortunate it&#8217;s a free tool.  Otherwise I&#8217;m quite sure it would have been abandon years ago.</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
</channel>
</rss>
