Can anyone plz help me for converting this query in llblgen pro commands.
i will be really very thankfull.
SELECT dbo.MemberSavedSearch.MemberSavedSearchId, dbo.Member.MemberId, dbo.Member.Email, dbo.MemberSavedSearch.PropertyNotificationFrequencyId
FROM dbo.Member INNER JOIN
dbo.MemberSavedSearch ON dbo.Member.MemberId = dbo.MemberSavedSearch.MemberId
WHERE (dbo.MemberSavedSearch.EmailStop = 0) And
'1'= CASE
WHEN (dbo.MemberSavedSearch.PropertyNotificationFrequencyId = 1 OR dbo.MemberSavedSearch.PropertyNotificationFrequencyId = 4) AND ((DATEPART(dy,GetDate())) != DATEPART(dy, dbo.MemberSavedSearch.LastNotificationSent)) THEN '1'
WHEN (dbo.MemberSavedSearch.PropertyNotificationFrequencyId = 2 OR dbo.MemberSavedSearch.PropertyNotificationFrequencyId = 5) AND ((DATEPART(dw,GetDate()) = 6) AND (DATEPART(dy,GetDate()) != DATEPART(dy,dbo.MemberSavedSearch.LastNotificationSent))) THEN '1'
WHEN (dbo.MemberSavedSearch.PropertyNotificationFrequencyId = 3 OR dbo.MemberSavedSearch.PropertyNotificationFrequencyId = 6) AND (((DATEPART(mm,GetDate()) != DATEPART(mm,dbo.MemberSavedSearch.LastNotificationSent))) AND ((DATEPART(yyyy,GetDate()) != DATEPART(yyyy,dbo.MemberSavedSearch.LastNotificationSent))))THEN '1'
END