使用 Scott 之前需要首先对其解锁:
--解锁scott用户
alter user scott account unlock;
--解锁scott用户的密码【此句也可以用来重置密码】,这里指定密码为 tiger
alter user scott identified by tiger;
然后切换到 scott 用户下:
使用 Scott 之前需要首先对其解锁:
--解锁scott用户
alter user scott account unlock;
--解锁scott用户的密码【此句也可以用来重置密码】,这里指定密码为 tiger
alter user scott identified by tiger;
然后切换到 scott 用户下: