If a stored procedure takes ID as parameter and does a
select *
from xxxTable
where ID = @ID
Is it possible for me to get a SUM(cost) from the results without putting
the result into a table first?
x***e 发帖数: 2449
2
what datebase?
【在 a*******t 的大作中提到】 : If a stored procedure takes ID as parameter and does a : select * : from xxxTable : where ID = @ID : Is it possible for me to get a SUM(cost) from the results without putting : the result into a table first?