ALTER FUNCTION [dbo].[uf_ucc_structured_WithCA] (@DealID int) RETURNS VARCHAR(8000) AS BEGIN Declare @policyNumber varchar(40) Declare @IssuerName varchar(100) Declare @CADate varchar(30) Select @policyNumber = x.AnnnuitantPolicyNumber, @IssuerName = x.IssuerName, @CADate = x.EventDate From ( Select IsNull(pd.AnnuitantPolicyNumber,'N') AnnnuitantPolicyNumber ,IsNull(i.IssuerName, 'N') IssuerName ,case when pe.[EventData] is null then 'N' else dbo.FormatDateTime(pe.[EventData], 'STANDARD') end eventDate from crmprod_01.dbo.P_Deals pd left join proc_ss.dbo.p_issuers i on pd.IssuerID = i.IssuerID left join crmprod_01.dbo.p_Events_Table pe on (pd.DealID = pe.dealID and pe.EventTypeID = 84) where pd.DealID =@dealID) x DECLARE @Output VARCHAR(8000) SET @Output = @policyNumber + ' , ' + @IssuerName + ' , ' + @CADate RETURN @Output END
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE