
SQL Server
文章平均质量分 73
heyixiang
这个作者很懒,什么都没留下…
展开
-
我的第一个触发器练习
表ExA如下:CREATE TABLE ExA ( id int IDENTITY (1, 1) NOT NULL , status bit NULL , primary key (id)) select * from ExAid status ----------- ------ 4 16 1 表ExB如下:CREATE TABL原创 2005-03-04 13:53:00 · 993 阅读 · 0 评论 -
SQLServer自定义函数——fnSplit
/*************************************************************** File: fnSplit.sql** Name: fnSplit** Description: Split the string. 分割字符串** Return values: @temp ** Parameters: @sql,@splits** Author:原创 2005-04-06 11:47:00 · 1636 阅读 · 0 评论 -
SQLServer自定义函数——fnSumOfTwoTime
/*************************************************************** File: fnSumOfTwoTime.sql** Name: fnSumOfTwoTime** Description: 把两个以“小时:分钟:秒钟”的时间相加求和 输入参数必须以24小时格式来表示且不能为“24:00:00”** Return values: v原创 2005-04-06 11:49:00 · 1300 阅读 · 0 评论 -
SQLServer自定义函数——fnCompare
/*************************************************************** File: fnCompare.sql** Name: fnCompare** Description: Compare two strings,return the alike degree with the percentage. 比较两个字符串,返回相似度的百分原创 2005-04-06 11:37:00 · 1392 阅读 · 0 评论 -
SQLServer自定义函数——fnDateInterval
/*************************************************************** File: fnDateInterval.sql** Name: fnDateInterval** Description: Get the interval between the start date and the end date. Use the forma原创 2005-04-06 11:41:00 · 1136 阅读 · 0 评论