BarkingFrog, your subquery will return one or more instances of 'Y' -- one for every row in the DDT4ENVR.THR which has USML_IND='Y' -- and if it returns more than one, then the UPDATE fails on a syntax error
I'm trying to update Table DDT4ENVR.THR from Table DDT4ENVR.CCR. So if I have more then one to update I can 't used SQL to do it. I'm trying to select all (USML_IND that = 'Y' and update Table DDT4ENVE.CCR with the same data. I do appreciate all the help that you can give me on this problem. Jim.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.