Here\'s my user-defined table type...
CREATE TYPE [dbo].[FooType] AS TABLE(
[Bar] [INT],
)
This is what ive had to do in my table-valued f
The syntax for CREATE FUNCTION indicates that the only way to define a table return type is by listing columns and types, a . Even SQL Server "Denali" has the same definition for . Although strangely, it's syntax doesn't include multi-statement Table valued functions, or anything else that references this fragment.