摘要: substring(s1,int,int) 截取字符串,起始位置,截取个数,返回截取后的字符串charindex(s1,s2)查找字符s1在s2中的位置。返回int位置SELECT substring(productid,0,(charindex(')',productid)+1)) as id1,... 阅读全文
posted @ 2014-06-14 11:56 林海云 阅读(314) 评论(0) 推荐(0)