Home Forums SQL Server 2008 T-SQL (SS2K8) Can a multistatement table-valued function return a user-defined table type TABLE? RE: Can a multistatement table-valued function return a user-defined table type TABLE?

  • According to the documentation, you have to use a table variable. That means defining the columns.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning