-2
这通常会在SQL Server Express中创建一个存储过程,但我不确定如何在Oracle 11g中重写它,因为它不包含“@”符号。任何人都可以为我转换这个好吗?如何将具有参数的SQL Server存储过程转换为具有参数的Oracle存储过程?
create procedure search_expenses
@startdate as datetime,
@enddate as datetime
as
begin
select
amount, description, trxdate, bankaccountid
from
expense
where
trxdate between @startdate and @enddate;
end
go
你花了多长时间研究这个的例子吗?我敢打赌,我可以在5分钟内找到答案。 https://docs.oracle.com/cd/E18283_01/appdev.112/e17126/create_procedure.htm – 2014-12-08 04:53:39
使用swiss sql在线转换器,可能会对您有所帮助 – 2014-12-08 04:56:13
我试图在Oracle中转换它并且无法使其工作...不断说我需要一个INTO关键字...感谢负面投票...真正有帮助 – Jae 2014-12-08 05:22:08