Faraz Akhtar

Faraz Akhtar

  • NA
  • 9
  • 726

scalar function.

May 31 2019 5:08 AM
in scalar function how to write in returns value two type of data type 
e.g.
 
create function xyz
(
@eid int
@ename varchar(20)
@esalary float
)
returns int,varchar(20),float       ..........................is it right????
ass begin 
return (select@eid+'  '+@ename+'  '+@esalary);
end 

Answers (5)