Is update possible in DBC.USERS?

Third Party Software

Is update possible in DBC.USERS?

Hi all,
I got this query with error.
[color=11]
[size=5]QUERY:
UPDATE DBC.USERS SET UserName='John' WHERE UserName='Jones' and CreatorName='td2idm'

ERROR:
com.ncr.teradata.jdbc_4.util.JDBCException: [NCR] [Teradata DBMS] : VIEW 'USERS' may not be used for Help Index/Constraint/Statistics, Update, Delete or Insert.[/size][/color]
Is this error due to Access privilege restriction or Update not possible in DBC.USERS View?

Pl reply me......
thnks in adv........
5 REPLIES
Enthusiast

Re: Is update possible in DBC.USERS?

Hi,

Normal generally have only access privilege to DBC.USER table.

Regards,
Balamurugan
Enthusiast

Re: Is update possible in DBC.USERS?

Hi,

We generally have only access privilege to DBC.USER table.

Regards,
Balamurugan

Re: Is update possible in DBC.USERS?

Thanks boss,
but i m able to create & delete user in the DBC.USERS view.........
pl reply me......
Enthusiast

Re: Is update possible in DBC.USERS?

Hi,

In your example you are trying to update a record through DBC.USERS view, for which you should have update privilege to the actual table.
As we don't have update privilege for DBC.USERS table your query throws an error.

Regards,
Balamurugan
Enthusiast

Re: Is update possible in DBC.USERS?

Hi there,

Do you guys have idea how to grant full select privilages on dbc.users?

I have been granted with grant select on dbc.users to my_login but i still see only myself in select * from...

Any help?