1
我不得不从SQL Server移植到Oracle和我有这个SPSP可以在SQL Server中执行此操作吗?
ALTER procedure ST_004_264_01_14292
@n1 decimal(4,2),
@n2 decimal(4,2),
@resultado decimal(4,2) output
as
select @resultado=(@[email protected])/2;
drop procedure ST_004_264_01_14292
declare @variable decimal(4,2)
execute ST_004_264_01_14292 5,6, @variable output
select @variable;
看起来更像是一个标量函数对我。 – mxix
大概这个'drop'实际上并不是SP的一部分? –
掉落在SP内部。我需要用PL/SQL重写它,但我不知道该怎么做。 – Nikodx