-
-
0ALTER FUNCTION [dbo].[DJK_FRpt_AreaProduct_Msg] ( @Departmentcode VARCHAR(50) ) RETURNS @resultTable table (a uniqueidentifier,b nvarchar(50),c nvarchar(100),d DECIMAL) AS BEGIN DECLARE @Departmentid uniqueidentifier--部门id SELECT @Departmentid = departmentid from com_t_department where departmentcode = @Departmentcode --根据Code 查询出 id DECLARE @departmentname nvarchar(50), @ProductCode nvarchar(50), @itemname nvarchar(100), @coefficient DECIMAL SELECT @departmentname = a.departmentname, @ProductCode = b.ProductCode , @itemname = e.itemname , @coefficient = d.coefficient FROM com_t_
-
1
-
0一个关于存储过程解析相关的问题 哪位大佬帮忙解决一下: 原语句: IF(BenCode in (434,435,436), IF(AccDate > SPTime, ClmAmount * ReinsPerc, NAR / BenAmount * ClmAmount * ReinsPerc), NAR / BenAmount * ClmAmount * ReinsPerc) 以上语句格式为: if(条件,为真返回值,为假返回值) 现在想把上面语句解析成下面伪代码来执行出结果 伪代码: declare begin if BenCode in (434,435,436) then if AccDate > SPTime then ClmAmount * ReinsPerc else NAR / BenAmount * ClmAmount * ReinsPerc) end if; else NAR / BenAmount * ClmAmount * ReinsPerc end if; end;
-
0存储不报错,在公司项目代码中执行到该存储就跑不动了,也不报错。后台查session,表被锁了,项目shutdown后表释放。
-
2此吧还有人吗???
-
0
-
0这吧人好少。。
-
10我自己之前自学oracle时记录的一些。
-
1char cpwd[5]; sprintf(cpwd,"%05d",isaleno); string stpwd = string(cpwd); string strcurtime = LP_StringHandler::getCurDateNstr(); s
-
0create or replace procedure PROCEDURE_PRODUCT (inputtime in date,uuid in varchar2) is getprice number(19,4); getbegindate date; getenddate d
-
0有资料的和有问题的欢迎来提问和分享
-
1写一个存储过程,添加参数为:姓名、学号、班级等,要求将学号作为存储过程的返回值 学生信息表字段为:Name,ID,grade 谢谢了,急求!