 




<?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: Oracle table update exist ?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/update-exist/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 12:30:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tchywallace</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70075</link>
		<dc:creator>tchywallace</dc:creator>
		<pubDate>Fri, 06 Nov 2009 16:03:21 +0000</pubDate>
		<guid isPermaLink="false">#comment-70075</guid>
		<description><![CDATA[And on visual basic how can you call this procedure]]></description>
		<content:encoded><![CDATA[<p>And on visual basic how can you call this procedure</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tchywallace</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70062</link>
		<dc:creator>tchywallace</dc:creator>
		<pubDate>Fri, 06 Nov 2009 12:35:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-70062</guid>
		<description><![CDATA[Yes it&#039;s great]]></description>
		<content:encoded><![CDATA[<p>Yes it&#8217;s great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tchywallace</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70061</link>
		<dc:creator>tchywallace</dc:creator>
		<pubDate>Fri, 06 Nov 2009 12:20:46 +0000</pubDate>
		<guid isPermaLink="false">#comment-70061</guid>
		<description><![CDATA[no i have just use execute testproc and it&#039;s was finish i thinks]]></description>
		<content:encoded><![CDATA[<p>no i have just use execute testproc and it&#8217;s was finish i thinks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70035</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Thu, 05 Nov 2009 20:27:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-70035</guid>
		<description><![CDATA[1) Where are you calling this procedure from ?
2) Can you post the instruction you are using to call the procedure ?

Have you tried running it from Sql*Plus this way ?

&lt;pre&gt;execute testproc(&#039;test&#039;,1);&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>1) Where are you calling this procedure from ?<br />
2) Can you post the instruction you are using to call the procedure ?</p>
<p>Have you tried running it from Sql*Plus this way ?</p>
<pre>execute testproc('test',1);</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: tchywallace</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70027</link>
		<dc:creator>tchywallace</dc:creator>
		<pubDate>Thu, 05 Nov 2009 17:50:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-70027</guid>
		<description><![CDATA[&lt;pre&gt;create or replace PROCEDURE TESTPROC (
  par in VARCHAR2, id_par in NUMBER
) AS 
BEGIN
    UPDATE data_admin set first_name = par WHERE id_admin = id_par;
    UPDATE tbl_admin set login = par WHERE id_user = id_par;
    commit;
  NULL;
END TESTPROC;
&lt;/pre&gt;

this is error
Erreur commençant à la ligne 1 de la commande :
call testproc
Rapport d&#039;erreur :
Erreur SQL : ORA-06576: ceci n&#039;est pas un nom de fonction ou de procédure valide
06576. 00000 -  &quot;not a valid function or procedure name&quot;
*Cause:    Could not find a function (if an INTO clause was present) or
           a procedure (if the statement did not have an INTO clause) to
           call.
*Action:   Change the statement to invoke a function or procedure]]></description>
		<content:encoded><![CDATA[<pre>create or replace PROCEDURE TESTPROC (
  par in VARCHAR2, id_par in NUMBER
) AS 
BEGIN
    UPDATE data_admin set first_name = par WHERE id_admin = id_par;
    UPDATE tbl_admin set login = par WHERE id_user = id_par;
    commit;
  NULL;
END TESTPROC;
</pre>
<p>this is error<br />
Erreur commençant à la ligne 1 de la commande :<br />
call testproc<br />
Rapport d&#8217;erreur :<br />
Erreur SQL : ORA-06576: ceci n&#8217;est pas un nom de fonction ou de procédure valide<br />
06576. 00000 &#8211;  &#8220;not a valid function or procedure name&#8221;<br />
*Cause:    Could not find a function (if an INTO clause was present) or<br />
           a procedure (if the statement did not have an INTO clause) to<br />
           call.<br />
*Action:   Change the statement to invoke a function or procedure</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70022</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Thu, 05 Nov 2009 16:12:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-70022</guid>
		<description><![CDATA[This is the command:

&lt;pre&gt;show errors;&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>This is the command:</p>
<pre>show errors;</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: tchywallace</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70020</link>
		<dc:creator>tchywallace</dc:creator>
		<pubDate>Thu, 05 Nov 2009 15:35:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-70020</guid>
		<description><![CDATA[please how ?? because  when i start my procedure with 
execute testproc
the error the procedure created with compilation error]]></description>
		<content:encoded><![CDATA[<p>please how ?? because  when i start my procedure with<br />
execute testproc<br />
the error the procedure created with compilation error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70014</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Thu, 05 Nov 2009 14:33:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-70014</guid>
		<description><![CDATA[Each statement needs to end with a semicolon.

Also, that new value needs to be declared as a parameter of the stored procedure, as shown in the example I posted.  The way you have it, it would update your tables with the &#039;&amp;pval&#039; string, literally.

If you get more errors, please post the error messages.]]></description>
		<content:encoded><![CDATA[<p>Each statement needs to end with a semicolon.</p>
<p>Also, that new value needs to be declared as a parameter of the stored procedure, as shown in the example I posted.  The way you have it, it would update your tables with the &#8216;&amp;pval&#8217; string, literally.</p>
<p>If you get more errors, please post the error messages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tchywallace</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70013</link>
		<dc:creator>tchywallace</dc:creator>
		<pubDate>Thu, 05 Nov 2009 13:46:43 +0000</pubDate>
		<guid isPermaLink="false">#comment-70013</guid>
		<description><![CDATA[create or replace procedure testproc

begin
	update data_admin set first_name = &#039;&amp;pval&#039;
where id_admin = 3

	update tbl_admin set password = &#039;&amp;pval&#039;
where id_user = 14
end;

there a error i don&#039;t know where]]></description>
		<content:encoded><![CDATA[<p>create or replace procedure testproc</p>
<p>begin<br />
	update data_admin set first_name = &#8216;&amp;pval&#8217;<br />
where id_admin = 3</p>
<p>	update tbl_admin set password = &#8216;&amp;pval&#8217;<br />
where id_user = 14<br />
end;</p>
<p>there a error i don&#8217;t know where</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tchywallace</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-exist/#comment-70008</link>
		<dc:creator>tchywallace</dc:creator>
		<pubDate>Thu, 05 Nov 2009 12:20:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-70008</guid>
		<description><![CDATA[Why, we are the problem when i sent a code]]></description>
		<content:encoded><![CDATA[<p>Why, we are the problem when i sent a code</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.040 seconds using memcached
Object Caching 393/399 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 14:09:28 -->