Hello!
Can anyone help with a query that would seperate departments/category?
Right now we have Jewelry/Yellow Gold and Department and bunch of categories no longer needed. I would want to assign the new department "Jewelry" and new category "Yellow Gold" to all the items in the original category.
Thanks in advance!
Diana
*This post is locked for comments
update item set departmentid = (replace this with id you need) from item where departmentid = (old id), updatedtime=getdate()
no () with your id's and use categoryid as well for the cat's
use at your own risk, backup first and call an expert...
DISCLAIMER: I refute all liabilities on this snipplet. ;)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156