摘要:
--1.声明游标提取数据所要存放的变量 declare @OrderId int ,@userId varchar(15) 2.声明游标 declare cur_name cursor scroll for select OrderId ,userId from bigorder where ord 阅读全文
摘要:
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 阅读全文
摘要:
create trigger updateDeleteTime on user for update as begin update user set UpdateTime=(getdate()) from user inner join inserted on user.UID=Inserted. 阅读全文
摘要:
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 阅读全文
摘要:
--字符串根据特定字符分割成表数据create function [dbo].[f_split](@SourceSql varchar(8000),@StrSeprate varchar(10))returns @temp table(a varchar(100)) as begin declare 阅读全文