文章分类 - sqlserver
摘要:alter table Dan_OperationConditionCheck add CheckItemJson nvarchar(max) null --增加验收项列 EXEC sys.sp_addextendedproperty --增加注释@name=N'MS_Description',@v
阅读全文
摘要:sqlserver上创建存储过程案例: CREATE proc [dbo].[proc_GetAllStructureIdByStructureId] @Com_StructureId uniqueidentifier @Com_StructureId传入参数ASBEGIN select a.*,c
阅读全文
摘要:sql 递归函数使用 SQL with as 示例: select * into #temp from Com_Structure a inner join Com_StructureType c on a.Com_SructureTypeID=c.Com_StructureTypeID where
阅读全文
摘要:declare c_checkReview cursor FAST_FORWARD for --定义游标 select OperationCheckId,UpperTime,c.MonitorLevelId from Dan_OperationConditionCheck a inner join
阅读全文
摘要:在调试存储过程过程中,发现改了变量值之后不起作用问题。后来才明白,在调试存储过程时,如果修改了脚本,需要执行成功方可调试才能起作用。
阅读全文

浙公网安备 33010602011771号