I have to manually update a table 120 times which each statement having 5 variable parameters.
I there a way to put it into a script first, check the script and then run it?
Update example:
Ties Blom
Information analyst
tbl@shimano-eu.com
I there a way to put it into a script first, check the script and then run it?
Update example:
Code:
UPDATE Slim4.Article
SET demand[COLOR=red]0[/color] =
(SELECT SLIM4.TEMP_ARTICLE_FISH_BRANCHE.D[COLOR=red]0[/color]
FROM SLIM4.TEMP_ARTICLE_FISH_BRANCHE
WHERE SLIM4.ARTICLE.CODE = SLIM4.TEMP_ARTICLE_FISH_BRANCHE.CODE AND SLIM4.TEMP_ARTICLE_FISH_BRANCHE.BRANCHE = 'F[COLOR=red]1[/color].')
WHERE (warehouse = 'F[COLOR=red]1[/color].') AND (demand[COLOR=red]0[/color] IS NOT NULL)
Ties Blom
Information analyst
tbl@shimano-eu.com