12 May 18 · npack ·       Add to Favorites   Report

Give - Transfer ownership of a database in Teradata

Transfers ownership of a database or user space to another user. Also transfers all databases and users owned by the transferred database or user.

  • You must have the DROP DATABASE privilege on the given object
  • You must have the CREATE DATABASE privilege on the recipient


Syntax:

GIVE database_name TO user_name;


Example:

GIVE Marketing TO Ben;

npack

posted on 12 May 18

Read great educational content like this and a lot more !

Members get free exclusive access to content, new courses, and discounts. Signup for a free account to write a post / comment / upvote posts. Creating an account takes less than 5 seconds and you can start earning badges & points too

Copied