﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administering / SQL Server 2005  / Scalar Functions x Table Functions / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 09:02:05 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Scalar Functions x Table Functions</title><link>http://www.sqlservercentral.com/Forums/Topic523611-146-1.aspx</link><description>Thank you for your answers.As pointed, http://www.sqlservercentral.com/Forums/Topic446308-360-1.aspx covers this issue. I'll add my new questions to it.Luiz.</description><pubDate>Wed, 25 Jun 2008 13:33:33 GMT</pubDate><dc:creator>Luiz-458831</dc:creator></item><item><title>RE: Scalar Functions x Table Functions</title><link>http://www.sqlservercentral.com/Forums/Topic523611-146-1.aspx</link><description>Hi,Compare the execution plan.You will see the which provide the best performance for your case.Regards.</description><pubDate>Wed, 25 Jun 2008 13:05:19 GMT</pubDate><dc:creator>SQL_ABD</dc:creator></item><item><title>RE: Scalar Functions x Table Functions</title><link>http://www.sqlservercentral.com/Forums/Topic523611-146-1.aspx</link><description>It depends on what you are trying to do in the function.</description><pubDate>Wed, 25 Jun 2008 13:01:46 GMT</pubDate><dc:creator>GSquared</dc:creator></item><item><title>RE: Scalar Functions x Table Functions</title><link>http://www.sqlservercentral.com/Forums/Topic523611-146-1.aspx</link><description>Check this good discussion here:http://www.sqlservercentral.com/Forums/Topic446308-360-1.aspx</description><pubDate>Wed, 25 Jun 2008 12:46:48 GMT</pubDate><dc:creator>MannySingh</dc:creator></item><item><title>Scalar Functions x Table Functions</title><link>http://www.sqlservercentral.com/Forums/Topic523611-146-1.aspx</link><description>Hi everyone,In the following scenarios, does anybody know if there is a difference in performance?The first uses a SCALAR FUNCTION, while the second uses a TABLE FUNCTION.SELECT	t1.Code,	t1.Description, fn_ScalarFunction1(t1.Code) as xyzFROM	Table1 t1WHERE	….SELECT	t1.Code, t1.Description, f1.xyzFROM	Table1 t1	OUTER APPLY fn_TableFunction1(t1.Code) as f1 WHERE	….I was wondering if we can say that one is always better than the other, or if it depends on something else.Thanks a lot,Luiz.</description><pubDate>Wed, 25 Jun 2008 12:11:16 GMT</pubDate><dc:creator>Luiz-458831</dc:creator></item></channel></rss>