sp_medicinestockappend.sql
来自「一整套的源代码」· SQL 代码 · 共 28 行
SQL
28 行
create or replace function sp_medicinestockappend
(
l_medicineid in integer
)
return integer
is
l_count integer;
l_medicinestockid integer;
begin
select medicinestock_id.nextval into l_medicinestockid from dual;
insert into medicinestock
(
medicinestockid,
amount,
minamount,
medicineid
)
values
(
l_medicinestockid,
0,
0,
l_medicineid
);
return l_medicinestockid;
end;
/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?