create function f1(param1 int) Returns @rep Table (Id Int,T_Date DateTime,Value Decimal(18,3)) as begin insert into @rep(id,T_Date,Value) select id,T_Date,Value from t1 order by id; return end
ORDER BY
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)