摘要: string iconv ( string in_charset, string out_charset, string str )注意:第二个参数,除了可以指定要转化到的编码以外,还可以增加两个后缀://TRANSLIT 和 //IGNORE,其中 //TRANSLIT 会自动将不能直接转化的字符... 阅读全文
posted @ 2014-11-26 16:58 Forward1990 阅读(241) 评论(0) 推荐(0)
摘要: 1、将Int 转为varchar经常用 concat函数,比如concat(8,'0') 得到字符串 '80'2、将varchar 转为Int 用 cast(a as signed) a为varchar类型的字符串 www.2cto.com 总结:类型转换和SQL Server一样,就是类型参数有点... 阅读全文
posted @ 2014-11-26 15:15 Forward1990 阅读(2799) 评论(0) 推荐(1)