Hi Pete.
>I want to drop and recreate tags some of which are Primary and Candidate. Does anybody know of code that can do this without losing things in the DBC?
This is pretty tough to do -- you need to not only recreate tags, you need to recreate the persistent relationships as well using ALTER TABLE statements on the child table.
Have you heard of Stonefield Database Toolkit (SDT)? Among a lot of other things, SDT handles this for you automatically. For more information, see
www.stonefield.com.
Doug