Is update possible in DBC.USERS?
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Is update possible in DBC.USERS? Expand / Collapse
Author
Message
Posted 10/24/2007 5:49:18 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/24/2007 7:04:33 AM
Posts: 3, Visits: 3
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........
Post #9403
Posted 10/24/2007 5:56:09 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 6/25/2008 3:36:22 AM
Posts: 56, Visits: 61
Hi,

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

Regards,
Balamurugan
Post #9404
Posted 10/24/2007 5:57:18 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 6/25/2008 3:36:22 AM
Posts: 56, Visits: 61
Hi,

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

Regards,
Balamurugan
Post #9405
Posted 10/24/2007 6:24:17 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/24/2007 7:04:33 AM
Posts: 3, Visits: 3
Thanks boss,
but i m able to create & delete user in the DBC.USERS view.........
pl reply me......
Post #9408
Posted 10/24/2007 7:11:21 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 6/25/2008 3:36:22 AM
Posts: 56, Visits: 61
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
Post #9413
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 6:22pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.031. 13 queries. Compression Disabled.