WinSQL » Knowledge base

Document information

Document ID: 1272
Subject: Tables appears to be owned by ADMIN in Netezza
Creation date: 3/4/10 12:57 PM
Last modified on: 3/4/10 12:59 PM


Table ownership is incorrect in Netezza


The default behavior is to use the database owner as the schema for every table in the database and not the user who created the table. For example, when you login as JOHN and create a table called MYTABLE, you will see the newly created table as ADMIN.MYTABLE in Netezza rather than JOHN.MYTABLE.

To change this default behavior submit the following query to your database.

update _t_odbc_feature
set enabled=1
where feature=16


These statements would need to be run as the ADMIN user connected to the SYSTEM database




Add a comment to this document

Do you have a helpful tip related to this document that you'd like to share with other users?

Important: This area is reserved for useful tips. Therefore, do not post any questions here. Instead, use our public forums to post questions.

Navigation

Social Media

Powered by 10MinutesWeb.com