create function dbo.Fn_ReturnsTable()
returns table
as
return(
select * from dbo.Tim_LinqTable
)
go
调用:
select * from dbo.Fn_ReturnsTable() where id=5
create function dbo.Fn_ReturnsTable()
returns table
as
return(
select * from dbo.Tim_LinqTable
)
go
调用:
select * from dbo.Fn_ReturnsTable() where id=5