首页 > Linux操作系统 > Linux操作系统 > Oracle 无效的月份
环境:oracle 11g, Windows XP
在进行select to_date('2011-May-20', 'yyyy-mon-dd') from dual查询时,系统提示not a valid month。由于系统是中文环境,因而在需要在命令环境中输入 alter session set nls_date_language = 'American'用于改变会话的日期格式。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16582684/viewspace-711929/ ,如需转载,请注明出处,否则将追究法律责任。