Question
ASP/VB If ElseIf End If
Does anyone know how to re-write this so that it actually
works? Can't seem
to find anythingthat gives me a solid enough clue even if I simplify it.
Thanks,
Craig
SELECT *
FROM notice
IF jobtype = 'MMColParam' AND onoff=-1 AND ndate >= date() THEN
ORDER BY ndate ASC
ELSEIF 'MMColParam'='old' AND onoff=-1 AND ndate <= date() THEN
ORDER BY ndate DESC
END IF
to find anythingthat gives me a solid enough clue even if I simplify it.
Thanks,
Craig
SELECT *
FROM notice
IF jobtype = 'MMColParam' AND onoff=-1 AND ndate >= date() THEN
ORDER BY ndate ASC
ELSEIF 'MMColParam'='old' AND onoff=-1 AND ndate <= date() THEN
ORDER BY ndate DESC
END IF
