【学习】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://azwzsj.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://azwzsj.com/article/jpheso.html