ORA-08186: invalid timestamp specified
来源:互联网 发布:竞猜源码 编辑:程序博客网 时间:2024/05/21 17:30
1、
SQL> select count(*) from t as of timestamp to_timestamp('2015-05-20 12:00:00','YYYY-MM-DD HH24:MI:SS');select count(*) from t as of timestamp to_timestamp('2015-05-20 12:00:00','YYYY-MM-DD HH24:MI:SS') *ERROR at line 1:ORA-08186: invalid timestamp specified
SYSDATE-------------------2015-05-20 02:13:28
如果指定一个未来的时间就会报以上的错误
2、
SQL> select count(*) from t as of timestamp to_timestamp('2015-05-19 12:00:00','YYYY-MM-DD HH24:MI:SS');select count(*) from t as of timestamp to_timestamp('2015-05-19 12:00:00','YYYY-MM-DD HH24:MI:SS') *ERROR at line 1:ORA-01466: unable to read data - table definition has changed
报错的原因,是因为在该时间点,表还没有创建
SQL> select count(*) from t as of timestamp to_timestamp('2015-05-20 02:00:00','YYYY-MM-DD HH24:MI:SS'); COUNT(*)---------- 72511
0 0
- ORA-08186: invalid timestamp specified
- ORA-24399:invalid number of connections specified
- ORA-12705 invalid or unknown NLS parameter value specified
- ORA-00604 and ORA-12705: Cannot access NLS data files or invalid environment specified
- ORA-12705: Cannot access NLS data files or invalid environment specified 错误
- ORA-12705: Cannot access NLS data files or invalid environment specified 错误
- ORA-12705: Cannot access NLS data files or invalid environment specified
- ORA-12705: Cannot access NLS data files or invalid environment specified
- ora-12705 Cannot access NLS data files or invalid environment specified
- 错误整理: ORA-12705: Cannot access NLS data files or invalid environment specified
- ORA-12705: Cannot access NLS data files or invalid environment specified
- ORA-12705: Cannot access NLS data files or invalid environment specified 错误
- ORA-12705: Cannot access NLS data files or invalid environment specified
- ORA-12705: Cannot access NLS data files or invalid environment specified 另类解决方案
- ORA-12705: Cannot access NLS data files or invalid environment specified
- oracle登陆不成功ora-12705:invalid or unknown NLS paramter value specified
- 22-ORA-12705: Cannot access NLS data files or invalid environment specified
- ORA-12705: Cannot access NLS data files or invalid environment specified
- 最新版富文本编辑器UEditor操作教程
- Android屏幕适配全攻略(最权威的官方适配指导)
- android 阻断EditText自动获取焦点
- Ubuntu 安装mysql和简单操作
- 深入理解const char*p,char const*p,char *const p,const char **p,char const**p,char *const*p,char**const p
- ORA-08186: invalid timestamp specified
- TOMCAT内存溢出解决方案
- ajax servlet 传值问题,新手,已被搞得焦头烂额。。。。。
- Nodejs页面访问加载静态资源
- Tomcat-5.0.28生成JSESSIONID机制
- DM368+聚林200W的并口机芯正常出图
- Chrome插件my task list
- LeakCanary 中文使用说明
- 学习apicloud和IOS之间的模块化使用