Соотношение функции хранимой процедуры
We can use a function within a stored procedure but, we cannot use a procedure in a function.
Dead Dotterel
We can use a function within a stored procedure but, we cannot use a procedure in a function.