Home / Expert Answers / Computer Science / you-are-tasked-to-run-the-following-query-to-update-the-sql-code-for-the-update-overdraft-history-e-pa965

(Solved): You are tasked to run the following query to update the SQL Code for the Update Overdraft History e ...



You are tasked to run the following query to update the SQL Code for the Update Overdraft History entry in the CLIENT_SPECIFIC_CODE table below. Identify the problem with the query: Update CLIENT_SPECIFIC_CODE SET SQL_CODE = 'UPDATE dst SET dst.days_overdrawn = DateDiff(d, src.odsincedate, src.LastUpdate) FROM dbo.OVERDRAFT_HISTORY as dst INNER JOIN dbo.ACCOUNTS as src ON dst.AcctID = src.AcctID AND dst.OVERDRAFT_DATE = src.ODSinceDate WHERE dst.is_overdrawn = 1 AND src.DELETED is null AND dst.days_obverdrawn < DateDiff(d, src.odsincedate, src.LastUpdate)'



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe