Is these differences are correct or not as interviewer said me these are incorrect....please guide me...
Difference between function and SP
Procedure can return zero or n values whereas function can return one value which is mandatory.
Procedures can have input/output parameters for it whereas functions can have only input parameters.
Procedure allows selectas well as DML statement in it whereas function allows only select statement in it.
Functions can be called fromprocedure whereas procedures cannot be called fromfunction.
Exception can be handled by try-catch block in a procedure whereas try-catch block cannot be used in a function.