[#1070] Add support for SQL Server table-valued functions