Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2005
>>That's what I expected, but was hoping for confirmation. If the UDF performs a query, it may be better to do the UDF's query as a derived table?
>
>It may be better as derived table because SQL Query optimizer will treat it as one query and may come up with better execution plan.
That also fits my assumptions.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only