SELECT
CURRENT_TIMESTAMP AS CURDATE,
ADDDATE(
CS.timestamp_SurveyDateCreated,
INTERVAL ST.tinyint_ResendInterval DAY
) AS OFFDATE,
C.*,
SL.*,
SP.*
FROM
21_consumersurveys CS
LEFT JOIN (
19_consumers C,
25_serviceleads SL,
10_serviceprospects SP,
20_surveytypes ST
) ON (
CS.bigint_ConsumerID = C.bigint_ConsumerID AND
CS.bigint_LeadID = SL.bigint_LeadID AND
CS.bigint_ReferenceID = SP.bigint_ProspectID AND
CS.bigint_SurveyType = ST.bigint_SurveyID
)
WHERE
OFFDATE <= CURDATE AND
CS.tinyint_SurveyStatus = 0;
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