简体   繁体   English

to_char相当于mysql

[英]to_char equivalent mysql

I need help with the equivalent to_char from SQL to MySQL this is pretty much what I am trying to do 我需要与从SQL到MySQL等效的to_char帮助,这几乎是我正在尝试做的事情

SELECT to_char(cus_inf.column1) no_operation

I need to convert this to MySQL column1 is from a table called cus_inf 我需要将其转换为MySQL column1是来自名为cus_inf的表

thanks in advance 提前致谢

仅使用cast()怎么样?

select cast(cus_inf.column1 as char) as no_operation

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM