db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: SQL State 01006, "Privilege not revoked from {0}."
Date Fri, 08 Sep 2006 04:33:59 GMT
On 9/7/06, Laura Stewart <scotsmatrix@gmail.com> wrote:
> I need to know the variable for the SQL State 01006 "Privilege not
> revoked from {0}."
> In most messages you can gleen what the variable should be, but not is
> this message. It might be good to modify the message so that it is
> clear.
>
> The way that this message reads it can be any database object, such as
> a table, view, trigger ... basically any object where a privilege can
> be revoked.
> Is this a correct assumption on my part?  If so, I would propose that
> this message read:
>
>  "Privilege not revoked from database object {0}."
>
> And the text in the Reference Manual would read:
>
>  "Privilege not revoked from database object <objectName>."

Actually, the message is slightly misleading, because the parameter
{0} is actually a database user. The message should probably read:

"Privilege not revoked for user {0}."

andrew

Mime
View raw message