摘要:
开发过程中碰到的一些小点,记忆一下:SQL SERVER:若是空,则选择某个默认值:isnull(a,'b')字符串转换成整数:cast(a as int)定位某个字符的位置:charindex('.',a,1)截取某个子串:substring(a,start_index,length)如取1.02.03.04处的02select substring('1.02,03.04',charindex(... 阅读全文
posted @ 2009-05-22 15:24 海岛 阅读(537) 评论(0) 推荐(0) 编辑