create function dbo.MyFunc (@parm int)
returns table
as
return (
select col1, col2
from dbo.MyTable
where idcol > @parm
)
select col1, col2 from dbo.MyFunc(5)
http://www.thescripts.com/forum/thread79868.html
http://www.thescripts.com/for
um/thread79868.html
Thursday, April 26, 2007
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment