1

I have Teradata v16.10.0. I want to create user with admin options: with possibility get to grant select any tables/views.

How to create such user right?

1 Answer 1

1

There's no global GRANT in Teradata, you can only grant on a database level.

That's one of the reasons why there's a superuser (usually named sysdba) who is the root of all databases:

dbc
 |...
 |-SYSDBA
 |...   |-myDB
 |...   |-myOtherDB
        |-anotherDB
        |-userA   |-subDB
                  |-anotherSubDB
                  |-UserB
                  |...

This user is an owner of all databases/users below him in the hierarchy and as owner you can Grant/Revoke any right on any owned object.

2
  • How grant for User select by any Tables? Commented Mar 30, 2018 at 11:53
  • GRANT SELECT ON myDB TO aUser
    – dnoeth
    Commented Mar 31, 2018 at 9:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.