ITPub博客

首页 > 数据库 > Oracle > 提示用户名密码将要过期时,会导致开启执行计划失效

提示用户名密码将要过期时,会导致开启执行计划失效

原创 Oracle 作者:kkl510331367 时间:2016-08-31 21:45:57 0 删除 编辑

点击(此处)折叠或打开

  1. SQL> show user;
  2. USER is "SCOTT"
  3. SQL> explain plan for select * from emp;

  4. Explained.

  5. SQL> select * from table(dbms_xplay.display);
  6. select * from table(dbms_xplay.display)
  7.                     *
  8. ERROR at line 1:
  9. ORA-00904: "DBMS_XPLAY"."DISPLAY": invalid identifier


  10. SQL> set autot on
  11. ERROR:
  12. ORA-24315: illegal attribute type


  13. SP2-0619: Error while connecting
  14. SP2-0611: Error enabling STATISTICS report
  15. SQL> ^C

  16. SQL>
  17. SQL>

  18. SQL> SQL>
  19. SQL> conn scott/tiger
  20. ERROR:
  21. ORA-28002: the password will expire within 4 days


  22. Connected.
  23. SQL> set autot on
  24. ERROR:
  25. ORA-28002: the password will expire within 4 days


  26. SP2-0619: Error while connecting
  27. SP2-0611: Error enabling STATISTICS report
  28. SQL> conn / as sysdba
  29. Connected.
  30. SQL> alter user scott identified by tiger;

  31. User altered.

  32. SQL> conn scott/tiger
  33. Connected.
  34. SQL> set autot on
  35. SQL>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26066458/viewspace-2124299/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 数据库对象
请登录后发表评论 登录
全部评论

注册时间:2015-07-13

  • 博文量
    13
  • 访问量
    9076