前提:自定义function,返回值是table类型(5个字段),
怎样调用该函数时,只用返回值中某3个字段??
例如:
create function func(
a int,
b int,
c int
) returns @table as(
q int,
w int,
e int,
r int,
t int
)
as
begin
balala.....
end
调用func,只要返回值中的q w e?然后再进行对q w e处理。
该怎么写?