mirror of
https://github.com/FalconWu2017/Falcon.StoredProcedureRunner.git
synced 2024-11-23 13:39:38 +08:00
增加测试用存储过程脚本
This commit is contained in:
parent
ab963f7cee
commit
9f677d3509
14
src/Falcon.StoredProcedureRunnerTests/Oracle.sql
Normal file
14
src/Falcon.StoredProcedureRunnerTests/Oracle.sql
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--Oracle测试用存储过程
|
||||||
|
create or replace procedure GetEmployee
|
||||||
|
(
|
||||||
|
v_orgaid IN NVARCHAR2 DEFAULT NULL
|
||||||
|
,v_data out sys_refcursor
|
||||||
|
)is
|
||||||
|
begin
|
||||||
|
open v_data for
|
||||||
|
select a.empcode,a.empname,a.empactive
|
||||||
|
from app_employee a
|
||||||
|
where a.orgaid=v_orgaid;
|
||||||
|
|
||||||
|
end;
|
||||||
|
/
|
BIN
src/Falcon.StoredProcedureRunnerTests/Sqlserver.sql
Normal file
BIN
src/Falcon.StoredProcedureRunnerTests/Sqlserver.sql
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user