---
title: "用户帐号解锁"
author: "unixboy"
date: "2009-10-21T08:06:08Z"
tags: ["SQL"]
slug: "untitled"
draft: false
lastmod: "2009-10-21T08:06:08Z"
id: 497368
url: "https://unixboy.iteye.com/blog/497368"
---

SQL&gt; alter user scott account unlock identified by 123456;  
alter user scott account unlock identified by 123456  
                                              *  
ERROR at line 1:  
ORA-00988: missing or invalid password(s)

SQL&gt; alter user scott account unlock identified by "123456";

User altered.

SQL&gt; conn scott/123456  
Connected.

SQL&gt; select table\_name from user\_tables;

TABLE\_NAME  
\------------------------------  
DEPT  
EMP  
BONUS  
SALGRADE