在此查询中,使用oracle中的to_number()。如何编写oracle和mysql数据库的兼容性查询。SELECT col1 FROM table WHERE condition ORDER BY TO_NUMBER(col2);
这里的col2是varchar2数据类型。假设我在此查询中使用的是ORDER BY命令,则必须使用转换函数,即to_number(col2),此函数在mysql.so中不可用,请给出上述问题的正确解决方案
当运行应用程序时,我得到下面的错误。 Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
org.springframework.beans.factory.