<?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"
	>
<channel>
	<title>Comments on: 4 to 5 sql statements in procedures</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/4-to-5-sql-statements-in-procedures/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/4-to-5-sql-statements-in-procedures/</link>
	<description></description>
	<pubDate>Sat, 28 Nov 2009 16:53:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/4-to-5-sql-statements-in-procedures/#comment-65021</link>
		<dc:creator>Carlosdl</dc:creator>
		<pubDate>Wed, 01 Jul 2009 14:59:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-65021</guid>
		<description>The question is still very vague.  What is [B][I]exactly[/I][/B] the problem ?

Another example:

[CODE]create or replace procedure my_proc (p_mode in number)
is
	l_price number;
begin
	if p_mode = 1 then
		select sum(price) [B]into l_price [/B]from sales;
	elsif p_mode = 2 then
		update tax_rates set tax_percent = 0.0875 where state = 'CA';
	elsif p_mode = 3 then
		delete from sales_history where sale_date &#60; (sysdate() - 180);
	...
	end if;
...
end;[/CODE]</description>
		<content:encoded><![CDATA[<p>The question is still very vague.  What is <b><i>exactly</i></b> the problem ?</p>
<p>Another example:</p>
<pre>create or replace procedure my_proc (p_mode in number)
is
	l_price number;
begin
	if p_mode = 1 then
		select sum(price) <b>into l_price </b>from sales;
	elsif p_mode = 2 then
		update tax_rates set tax_percent = 0.0875 where state = &#8216;CA&#8217;;
	elsif p_mode = 3 then
		delete from sales_history where sale_date &lt; (sysdate() - 180);
	&#8230;
	end if;
&#8230;
end;</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ggalla</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/4-to-5-sql-statements-in-procedures/#comment-65004</link>
		<dc:creator>Ggalla</dc:creator>
		<pubDate>Wed, 01 Jul 2009 03:20:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-65004</guid>
		<description>I want to create 5 sql statements in one procedures which are performing diff tasks. can u provide the pl/sql PROC which can be include 5 sql statements.  --- Note: one time only one sql staement should execute depends on requirement not all sql statements.</description>
		<content:encoded><![CDATA[<p>I want to create 5 sql statements in one procedures which are performing diff tasks. can u provide the pl/sql PROC which can be include 5 sql statements.  &#8212; Note: one time only one sql staement should execute depends on requirement not all sql statements.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- dynamic -->