上一页 1 2 3 4 5 6 7 8 ··· 14 下一页
摘要: https://www.jianshu.com/p/d333d000e5b2 https://www.cnblogs.com/bluedy1229/p/11649089.html 阅读全文
posted @ 2020-07-16 10:06 博客燕 阅读(603) 评论(0) 推荐(0)
摘要: --1.声明游标提取数据所要存放的变量 declare @OrderId int ,@userId varchar(15) 2.声明游标 declare cur_name cursor scroll for select OrderId ,userId from bigorder where ord 阅读全文
posted @ 2020-07-15 13:25 博客燕 阅读(176) 评论(0) 推荐(0)
摘要: sp_executesql的运用 书写语法要点: exec sp_executesql @sql,N’参数1 类型1,参数2 类型2,参数3 类型3 OUTPUT’,参数1,参数2,参数3 OUTPUT; 注意参数前后顺序必须对应好 如下图不同颜色的标记 简易测试代码: declare @FSQL 阅读全文
posted @ 2020-07-15 11:39 博客燕 阅读(1539) 评论(0) 推荐(0)
摘要: LONG ROW,ROWCOUNT,istring ls_column,ls_jglx if dw_detail.accepttext( ) = -1 then return gnv_app.of_fillcolumndown(dw_detail) ROW=this.dw_detail.getrow 阅读全文
posted @ 2020-06-16 09:39 博客燕 阅读(317) 评论(0) 推荐(0)
摘要: create trigger updateDeleteTime on user for update as begin update user set UpdateTime=(getdate()) from user inner join inserted on user.UID=Inserted. 阅读全文
posted @ 2020-06-02 11:39 博客燕 阅读(3001) 评论(0) 推荐(1)
摘要: DECLARE my_cursor CURSOR FOR select * from dbo.fun_kpi_mould_mjzfjsl_detail(:as_year,:as_parameter) using sqlzk;OPEN my_cursor ; fetch my_cursor into 阅读全文
posted @ 2020-05-22 14:09 博客燕 阅读(1427) 评论(0) 推荐(0)
摘要: DECLARE my_cursor CURSOR FOR execute P_L_WORKUNIT_SALARY_GSGS(:as_year,'1') ; OPEN my_cursor ; fetch my_cursor into :ls_items,:lc_m1,:lc_m2,:lc_m3,:lc 阅读全文
posted @ 2020-05-22 14:07 博客燕 阅读(764) 评论(0) 推荐(0)
摘要: --1.创建一个package,包中定义两个方法,一个set值的方法,一个get值的方法create or replace package VIEW_GET_PRODUCT_YGS is --set值方法function set_writeday(writeday varchar2) return 阅读全文
posted @ 2020-05-21 17:23 博客燕 阅读(310) 评论(0) 推荐(0)
摘要: --字符串根据特定字符分割成表数据create function [dbo].[f_split](@SourceSql varchar(8000),@StrSeprate varchar(10))returns @temp table(a varchar(100)) as begin declare 阅读全文
posted @ 2020-05-18 11:43 博客燕 阅读(601) 评论(0) 推荐(0)
摘要: win7 64位系统 PB连接oracle数据库出现“oracle library oci.dll could not be loaded”问题的解决方法 PB 只能连接32位的Oracle 客户端,所以再装一个32位的Oracle 客户端 阅读全文
posted @ 2020-04-29 10:48 博客燕 阅读(3830) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页