【学习】SQL基础-001-前期准备
1.环境参数设置
@?/sqlplus/admin/glogin.sql
export ORACLE_SID=XXX
2.启动
sqlplus / as sysdba
SQL> startup
SQL> select status from v$instance;
3.(可选)重建scott方案
@?/rdbms/admin/utlsampl.sql
4.解锁scott账号
使用sys用户解锁
sqlplus / as sysdba
SQL> alter user scott identified by tiger unlock;
分享文章:【学习】SQL基础-001-前期准备
本文地址:http://pwwzsj.com/article/jpheso.html
@?/sqlplus/admin/glogin.sql
export ORACLE_SID=XXX
2.启动
sqlplus / as sysdba
SQL> startup
SQL> select status from v$instance;
3.(可选)重建scott方案
@?/rdbms/admin/utlsampl.sql
4.解锁scott账号
使用sys用户解锁
sqlplus / as sysdba
SQL> alter user scott identified by tiger unlock;
分享文章:【学习】SQL基础-001-前期准备
本文地址:http://pwwzsj.com/article/jpheso.html