摘要: create table tb(imgPath varchar(50)) insert into tb select 'd1/d2/f1'--d1/d2/dd/f1 select left(imgPath,len(imgPath)-charindex('/',reverse(imgPath))) from tb 阅读全文
posted @ 2013-10-08 11:03 xiajing12345 阅读(1561) 评论(0) 推荐(0) 编辑