随笔分类 -  SQL SERVER

摘要:--查询数字开始位置PATINDEX('%[0-9]%','3000元/㎡')--查询非数字的开始位置PATINDEX('%[^0-9]%','3000元/㎡') 阅读全文
posted @ 2013-03-07 15:06 流浪De云 阅读(405) 评论(0) 推荐(0)
摘要:--drop table tb --go --create table tb(code int,su_code int) --insert into tb(code,su_code) values(1,null) --insert into tb(code,su_code) values(11,1) --insert into tb(code,su_code) values(12,1) --insert into tb(code,su_code) values(111,11) --insert into tb(code,su_code) values(112,11) --insert into 阅读全文
posted @ 2013-03-07 15:05 流浪De云 阅读(221) 评论(0) 推荐(0)