Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
UPDATE IC SET IC.InvoiceSiteID = (CASE WHEN IC.SiteID IN(SELECT InvoiceToSite FROM QuoteInvoicing WHERE QuoteID = IC.QuoteID) THEN InvoiceToSite ELSE MIN(InvoiceToSite) FROM QuoteInvoicing WHERE QuoteID = IC.QuoteID AND InvoiceToSite <> IC.SiteID END) FROM #InvoiceConsolidation IC INNER JOIN QuoteInvoicing IQ ON IC.QuoteID = IQ.QuoteID
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.