Please can the SQL code below be interpreted
IF @xMatchCriteria='MATCH12'
BEGIN
IF EXISTS (Select * from #InsightData where (EmailAddress=@xDCPEmailAddress ) )
BEGIN
SET @xTestMatchCriteria = @xMatchCriteria;
SELECT @xCRMCustomerId=CustomerId, @xCRMDcpCustomerId=DcpCustomerId, @xCRMPortalCustomerID=PortalCustomerID,@xCRMDcpID=DcpID, @xCRMCardNumber=CardNumber, @xCRMEmailAddress=EmailAddress, @xCRMfirtLetterFirstName=firtLetterFirstName,
@xCRMLastName=Surname,@xCRMAddressLine1=AddressLine1, @xCRMPostCode=PostCode
FROM #InsightData
where (EmailAddress=@xDCPEmailAddress )
END
ELSE
BEGIN
SET @xTestMatchCriteria='No'+@xMatchCriteria;
END
END


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More MySQL Interview Questions

What is row level locking?

0 Answers  


What is auto increment in mysql?

0 Answers  


Explain MySQL optimization?

1 Answers  


How can you change the name of any existing table by using the sql statement?

0 Answers  


How to validate email addresses in mysql?

0 Answers  






How many rows can mysql hold?

0 Answers  


What is difference between inner vs self vs cross?

0 Answers  


How many sql ddl commands are supported by 'mysql'?

0 Answers  


How do I free up space in mysql?

0 Answers  


Is mysql case-sensitive?

0 Answers  


Is blocked because of many connection errors mysql?

0 Answers  


Where the database is stored in mysql?

0 Answers  


Categories