日期:2014-05-18 浏览次数:20657 次
CREATE FUNCTION [dbo].[GetServerTime]() RETURNS @tbl TABLE( Time DATETIME ) AS BEGIN INSERT INTO @tbl SELECT GETDATE() RETURN END ------解决方案--------------------把select * from table改为select * from function(参数)