 




<?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: SQL tutorial?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/re-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/re-sql/</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: ds1</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/re-sql/#comment-91475</link>
		<dc:creator>ds1</dc:creator>
		<pubDate>Thu, 28 Apr 2011 07:25:46 +0000</pubDate>
		<guid isPermaLink="false">#comment-91475</guid>
		<description><![CDATA[Here is a good reference on SQL Tutorial. Thousands of queries maintain SQL 2003 standard.
&lt;a href=&quot;http://www.w3resource.com/sql/tutorials.php&quot;&gt;]]></description>
		<content:encoded><![CDATA[<p>Here is a good reference on SQL Tutorial. Thousands of queries maintain SQL 2003 standard.<br />
<a href="http://www.w3resource.com/sql/tutorials.php"></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kccrosser</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/re-sql/#comment-81962</link>
		<dc:creator>kccrosser</dc:creator>
		<pubDate>Wed, 29 Sep 2010 18:29:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-81962</guid>
		<description><![CDATA[Generally (but not always):
A Function can take formal input parameters, and cannot modify the parameters - instead the function returns one result parameter that is not in the formal parameter list.  Further, normally a Function is prohibited from having &quot;side effects&quot; - i.e., a Function cannot alter the state of the system, change data in a table, etc.
A Procedure can take input, output, and/or input/output parameters and can modify the contents of the parameters directly.  Also, a Procedure is usually NOT prohibited from having &quot;side effects&quot; - it can modify the state of the system, change table contents, etc.


Example:
&lt;pre&gt;declare @a int;
declare @b varchar(256);
declare @c float;
exec MyProcedure @a out, @b out;
--  at this point, either or both of @a and @b can have different values than before the procedure call
--  also, database tables could have been modified (or even created/dropped!)
set @c = MyFunction(@a, @b);
--  at this point, neither @a nor @b can be modified by MyFunction, but a result value is returned - nothing in the database should have been altered as a result of this call
--  note that the following IS allowed, and is how you would use a function to modify the value of an argument:
set @a = MyFunction(@a);&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Generally (but not always):<br />
A Function can take formal input parameters, and cannot modify the parameters &#8211; instead the function returns one result parameter that is not in the formal parameter list.  Further, normally a Function is prohibited from having &#8220;side effects&#8221; &#8211; i.e., a Function cannot alter the state of the system, change data in a table, etc.<br />
A Procedure can take input, output, and/or input/output parameters and can modify the contents of the parameters directly.  Also, a Procedure is usually NOT prohibited from having &#8220;side effects&#8221; &#8211; it can modify the state of the system, change table contents, etc.</p>
<p>Example:</p>
<pre>declare @a int;
declare @b varchar(256);
declare @c float;
exec MyProcedure @a out, @b out;
--  at this point, either or both of @a and @b can have different values than before the procedure call
--  also, database tables could have been modified (or even created/dropped!)
set @c = MyFunction(@a, @b);
--  at this point, neither @a nor @b can be modified by MyFunction, but a result value is returned - nothing in the database should have been altered as a result of this call
--  note that the following IS allowed, and is how you would use a function to modify the value of an argument:
set @a = MyFunction(@a);</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: radhakrishnatutika</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/re-sql/#comment-81937</link>
		<dc:creator>radhakrishnatutika</dc:creator>
		<pubDate>Wed, 29 Sep 2010 04:37:43 +0000</pubDate>
		<guid isPermaLink="false">#comment-81937</guid>
		<description><![CDATA[what is the diff bw  procedure and function?]]></description>
		<content:encoded><![CDATA[<p>what is the diff bw  procedure and function?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomatoes</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/re-sql/#comment-78719</link>
		<dc:creator>tomatoes</dc:creator>
		<pubDate>Wed, 30 Jun 2010 07:08:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-78719</guid>
		<description><![CDATA[This &lt;a href=&quot;http://www.1keydata.com/sql/sql.html&quot;&gt;SQL tutorial&lt;/a&gt; offers examples for each command so it&#039;s easy to learn along.]]></description>
		<content:encoded><![CDATA[<p>This <a href="http://www.1keydata.com/sql/sql.html">SQL tutorial</a> offers examples for each command so it&#8217;s easy to learn along.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brentsheets</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/re-sql/#comment-61908</link>
		<dc:creator>brentsheets</dc:creator>
		<pubDate>Mon, 06 Apr 2009 13:46:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-61908</guid>
		<description><![CDATA[&lt;b&gt;Moderator Note:&lt;/b&gt; Lystra, as Carlosdl pointed out - as you run into specific issues - please feel free to return and post a questions with as much detail, as possible. Good luck here is another online tutorial you may wish to visit at &lt;a href=&quot;http://www.sqlcourse.com/&quot;&gt;SQLCourse dot com&lt;/a&gt;.

And you may also wish to visit the &lt;a href=&quot;http://searchsqlserver.techtarget.com/generic/0,295582,sid87_gci1309865,00.html&quot;&gt;SQL and SQL Server Tutorial and Reference Guide&lt;/a&gt; that has been created from content from fellow member and SQL guru Denny Cherry. Denny has a blog on IT Knowledge Exchange called &lt;a href=&quot;http://itknowledgeexchange.techtarget.com/sql-server&quot;&gt;SQL Server with Mr. Denny&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p><b>Moderator Note:</b> Lystra, as Carlosdl pointed out &#8211; as you run into specific issues &#8211; please feel free to return and post a questions with as much detail, as possible. Good luck here is another online tutorial you may wish to visit at <a href="http://www.sqlcourse.com/">SQLCourse dot com</a>.</p>
<p>And you may also wish to visit the <a href="http://searchsqlserver.techtarget.com/generic/0,295582,sid87_gci1309865,00.html">SQL and SQL Server Tutorial and Reference Guide</a> that has been created from content from fellow member and SQL guru Denny Cherry. Denny has a blog on IT Knowledge Exchange called <a href="http://itknowledgeexchange.techtarget.com/sql-server">SQL Server with Mr. Denny</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/re-sql/#comment-61885</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Mon, 06 Apr 2009 03:15:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-61885</guid>
		<description><![CDATA[If yoou have some specific questions, feel free to post them here.]]></description>
		<content:encoded><![CDATA[<p>If yoou have some specific questions, feel free to post them here.</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.043 seconds using memcached
Object Caching 337/343 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 13:42:58 -->