摘要:
演示脚本IF not exists(SELECT 1 from sys.sysobjects where name = 'Student' AND type = 'U')BEGIN CREATE table Student( ID int ... 阅读全文
posted @ 2015-03-30 16:10
忧忧夏天
阅读(1130)
评论(0)
推荐(0)
摘要:
需求:把字符串1,2,3变成表里的行数据方法:用自定义函数实现/* 获取字符串数组的 Table*/if exists (select 1 from sysobjects where id = object_id('Get_StrArrayStrOfTable' )) drop Fu... 阅读全文
posted @ 2015-03-30 13:13
忧忧夏天
阅读(3956)
评论(0)
推荐(0)
摘要:
需求:获取字符数组1,2,3的第2个元素方法:通过自定义函数来实现/* 获取字符串数组某个元素*/if exists (select 1 from sysobjects where id = object_id('Get_StrArrayStrOfIndex' )) drop Fun... 阅读全文
posted @ 2015-03-30 13:08
忧忧夏天
阅读(6146)
评论(0)
推荐(0)
摘要:
需求:获取字符串数组1,2,3,4的长度,当然也可以是其他分隔符1|2|3等方法:通过自定义函数来实现/* 获取字符串数组长度*/if exists (select 1 from sysobjects where id = object_id('Get_StrArrayLength' )... 阅读全文
posted @ 2015-03-30 13:03
忧忧夏天
阅读(8666)
评论(0)
推荐(0)
浙公网安备 33010602011771号