2011年2月17日

SqlServer函数

摘要: SqlServer函数  1 字符串函数  1.1 长度与分析用  datalength(Char_expr) 返回字符串包含字符数,但不包含后面的空格  substring(expression,start,length) 不多说了,取子串  right(char_expr,int_expr) 返回字符串右边int_expr个字符  1.2 字符操作类  upper(char_expr) 转为大写  lower(char_expr) 转为小写  space(int_expr) 生成int_expr个空格  replicate(char_expr,int_expr)复制字符串int_expr次 阅读全文

posted @ 2011-02-17 17:00 和轩僮 阅读(362) 评论(0) 推荐(0) 编辑

导航