DB2: change ownership of a table

 db2 "transfer ownership of table wcs.X_PRODUCT_MASTER_FEED to user wcs"


Run the following to check the ownership:


select * from syscat.tables where tabname = 'X_PRODUCT_PRICING_INVENTORY' with ur;



The entry in the  OWNER column must match the entry in the TABSCHEMA column.

Comments

Popular posts from this blog

Postgres: Clean up stopped replication slot