Netezza grant right to create temp tables -


in netezza, syntax granting particular user right create temporary tables in particular database?

the ability create temporary tables considered "administrative privilege" (as opposed "object privilege"), , general syntax, cribbed online documentation here:

grant <admin_privilege>[,<admin_privilege>...] [ in <scope> ]   { public | group <group> | <username> } [ grant option ] 

when connected database other system database, will grant ability create temporary tables database only. if executed while connected system database, grant ability create temporary tables databases.

grant temp table user; 

if want explicit scope regardless of database connected to, can use "in" clause.

for particular schema:

grant temp table in database.schema user; 

for schemas in database:

grant temp table in database.all user; 

or databases:

grant temp table in all.all user; 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -