'to_char' is not a recognized builtin function name.

to_char 是oracle的函数,如果你是mysql和sqlServer数据库,在sql中用了这个函数就会报错

  to_char的作用,把int和Date类型的数据,转为字符串类型。如果不是int和Date类型转,去掉也这个函数试试,也是没问题的。

原文地址:https://www.cnblogs.com/wwssgg/p/15699884.html