tags:

views:

33

answers:

2
A: 

This is a new area of SQL Server, you should consult this article. Which shows the syntax of a table-valued function -- that is what you want to create.

Hassan Syed
Is there something like this for sql-2005?
StuffHappens
yes, it applies to 2005 as well.
Hassan Syed
+1  A: 

You can return any list that implements an IEnumerable. Check this out.

Pedro
Is there something like this for sql-2005?
StuffHappens
Um. There a link on this article letting you switch to the SQL 2005 specific notes
Damien_The_Unbeliever