From 9f677d35098d86db4a0c154504a7ab5d6c0572f3 Mon Sep 17 00:00:00 2001 From: falcon <9504402@qq.com> Date: Sat, 4 Dec 2021 12:41:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E5=AD=98=E5=82=A8=E8=BF=87=E7=A8=8B=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Falcon.StoredProcedureRunnerTests/Oracle.sql | 14 ++++++++++++++ .../Sqlserver.sql | Bin 0 -> 1724 bytes 2 files changed, 14 insertions(+) create mode 100644 src/Falcon.StoredProcedureRunnerTests/Oracle.sql create mode 100644 src/Falcon.StoredProcedureRunnerTests/Sqlserver.sql diff --git a/src/Falcon.StoredProcedureRunnerTests/Oracle.sql b/src/Falcon.StoredProcedureRunnerTests/Oracle.sql new file mode 100644 index 0000000..ede0407 --- /dev/null +++ b/src/Falcon.StoredProcedureRunnerTests/Oracle.sql @@ -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; +/ diff --git a/src/Falcon.StoredProcedureRunnerTests/Sqlserver.sql b/src/Falcon.StoredProcedureRunnerTests/Sqlserver.sql new file mode 100644 index 0000000000000000000000000000000000000000..1ca5aa7f07bb691a6e4a6f9767d71a714f209fe1 GIT binary patch literal 1724 zcmd6n+ip@(5QgVcG`_>WD@7^=OpG-qVxg7T02VMNjW!6orxd6h)c6Ws_!_>6Pv9f? z8tV7YVzcp7ubP;hy$*9&Gygxc*7t84wqb31ZRd=!P3(=2PljJUWarNhKD9o7yz%~~ zUAHd!nniYCGc2ZzFHG`XYx-QU+{zarePw4@_OaZ;FT#IjVEr=E zW6r(Jy0eJVwhJpF(+S~}KK7?bXY8xiV~#yS(MndZO}oQbVlLqq@t4q+?Ji@+4HQ3i}hred~fAAGckv+Jw zPkE}M!ZL@M6K8zOGJHpHbq?oa8#$g}x9#i)79%Q<@)c^cjea@0&k1DM%IBEO*2nKfPx6 zB;pitpj$13V@4s0{Z$G1svBm=dg!E?(x>N+WXf)~;7BYC7l=Zi20UW%2s^z1BRl4d zx2)9XdS7Z(vj!^VBVI!=n^0R!j)Z~_$K3J4*9vl@gbu8;T#nnFIb=iaa3YvAgI5|;%bI(1= cTa~F}*>F$2W`9Sej`_b)DR=#PW2?UU0WJ~q1^@s6 literal 0 HcmV?d00001