文章分类 -  sqlserver

摘要:alter table Dan_OperationConditionCheck add CheckItemJson nvarchar(max) null --增加验收项列 EXEC sys.sp_addextendedproperty --增加注释@name=N'MS_Description',@v 阅读全文
posted @ 2017-01-16 09:44 飞刀软件 阅读(3357) 评论(0) 推荐(0)
摘要:待定 阅读全文
posted @ 2017-01-05 22:02 飞刀软件 阅读(80) 评论(0) 推荐(0)
摘要:sqlserver上创建存储过程案例: CREATE proc [dbo].[proc_GetAllStructureIdByStructureId] @Com_StructureId uniqueidentifier @Com_StructureId传入参数ASBEGIN select a.*,c 阅读全文
posted @ 2016-12-28 15:14 飞刀软件 阅读(222) 评论(0) 推荐(0)
摘要:sql 递归函数使用 SQL with as 示例: select * into #temp from Com_Structure a inner join Com_StructureType c on a.Com_SructureTypeID=c.Com_StructureTypeID where 阅读全文
posted @ 2016-12-16 16:59 飞刀软件 阅读(850) 评论(0) 推荐(0)
摘要:declare c_checkReview cursor FAST_FORWARD for --定义游标 select OperationCheckId,UpperTime,c.MonitorLevelId from Dan_OperationConditionCheck a inner join 阅读全文
posted @ 2016-12-12 15:46 飞刀软件 阅读(184) 评论(0) 推荐(0)
摘要:在调试存储过程过程中,发现改了变量值之后不起作用问题。后来才明白,在调试存储过程时,如果修改了脚本,需要执行成功方可调试才能起作用。 阅读全文
posted @ 2016-12-12 15:42 飞刀软件 阅读(111) 评论(0) 推荐(0)