Removing Keywords in Bulk

Hello friends, 

I'm trying to delete a bunch of keywords that are just clutter at this point. I wrote a code to identify which performances they are associate with (it gave me a cranky error when I tried to delete them because they're still associate with performances.) 

Anyone have any thoughts on how I now remove them in bulk from those performances? 

This is what I wrote. It returned about 150 lines: 

select P.perf_code, I.tkw, T.description
from T_Perf as P
join TX_INV_TKW as I on I.inv_no = P.perf_no
join TR_TKW as T on T.id = I.tkw
where I.tkw in (203, 204, 205, 206, 207, 208, 209, 21, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 328)

Thanks!!

Nicki 

Parents Reply Children
No Data