DESC 表名 查看表的信息. SET SERVEROUT [ON|OFF] 设置系统输出的状态. SET PAGESIZE 设置浏览中没页的大小 SET LINESIZE 设置浏览中每行的长度 SET AUTOPRINT [ON|OFF] 设置是否自动打印全局变量的值 SELECT SYSDATE FROM DUAL 查看当前系统时间 ALTER SESSION SET nls_date_format='格式' 设置当前会话的日期格式 示例:ALTER S ESSION SET nls_
12c_scott创建脚本,CREATE USER c##scott IDENTIFIED BY tiger ; GRANT CONNECT ,RESOURCE,UNLIMITED TABLESPACE TO c##scott CONTAINER= ALL ; ALTER USER c##scott DEFAULT TABLESPACE USERS; ALTER USER c##scott TEMPORARY TABLESPACE TEMP ; CONNECT c##scott/tiger
scott用户的密码不对,进入管理员用户,修改scott用户密码即可 或者这样修改密码:在运行栏里面敲:sqlplus(空格)/nolog 回车接着在弹出框里面敲:conn sys/password as sysdba回车提示已连接最后敲:alter user scott identified by tiger;回车alter user scott account unlock;回车(对SCOTT解锁)http://an:1158/em/console/logon/logon;jsessioni
修改密码:
scott用户的密码不对,进入管理员用户,修改scott用户密码即可
或者这样修改密码:
在运行栏里面敲:sqlplus(空格)/nolog 回车
接着在弹出框里面敲:conn sys/password as sysdba回车
提示已连接
后敲:alter user scott identified by tiger;回车
alter user scott account unlock;回车(对SCOTT解锁)
解锁方法:
用 s