I am trying to get the following stored procedure to work without slowing the database down. Some records in the CallsMade table will have an OutcomeCode of 0, which isn't in the Outcomes table, or a VoiceFileName value of NULL and therefore won't bring back a result when a number is searched...
I am trying to update a table in our database from information in another table but i need the newer date to stay in the updated table. I have used the following script but it doesn't seem to work please could someone tell me where it is wrong.
UPDATE Prospect
SET LastContactDate = (SELECT...
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.