Your Query doesnt look ok. I dont think it would run without error.
Pls try the update as shown below:
UPDATE SAGE2ADM.TICKET P
SET TICKETSTATUS = (SELECT STATUS FROM
SAGE2ADM.STAGE_ EESMPROBLEM_NOR TH S WHERE S.SOURCETABLENA ME=P.SOURCETABL ENAME AND S.PROBLEMNUMBER =P.PROBLEMNUMBE R
AND S.STATUS<>P.TIC KETSTATUS)
Where Exists (Select 1 From SAGE2ADM.TICKET T, SAGE2ADM.STAGE_ EESMPROBLEM_NOR TH...
User Profile
Collapse
-
The update clause is missing the Where condition for the table TICKET. Pls note that in this case, the entire table will be updated!Leave a comment:
-
-
Decimal data type can now be altered in v9.1 and above.
alter table <tablename> alter column <colName> set data type decimal(x,y).
You can only alter upto 3 columns and then you need to ReOrg the table.Leave a comment:
No activity results to display
Show More
Leave a comment: