我有SQL函数,我需要在SQL视图中执行它。
任何建议..
答案 0 :(得分:15)
create view dbo.ViewName
as
select
dbo.Function(parameter)
from dbo.TableName
答案 1 :(得分:0)
CREATE VIEW myview AS
SELECT *
FROM GetValueOfItem() AS schedule
GO
SELECT * FROM myview
答案 2 :(得分:-1)