mass update - set Item(s) inactive - SQL
I have a large set of items I want to set inactive. It seems that eConnect doesn't have an option to safely import this update.
Would this be safe? Are any other tables updated , or needing to be updated?
BEGIN TRY UPDATE dbo.IV00101 SET INACTIVE = 1 WHERE ITEMNMBR in (Select ITEMNMBR from [MyTable] Where <myCaseIsMet>) END TRY BEGIN CATCH -- RETURN END CATCH GO