The REASSIGN OWNED statement changes the of all database objects (i.e., tables, types, or schemas) in the current database that are currently owned by a specific or .The REASSIGN OWNED statement performs a schema change. For more information about how online schema changes work in CockroachDB, see .
To change the ownership of any single object (e.g., a table or a database), use the OWNER TO subcommand of the object’s .