6
如何使用日期添加或日期差異函數我有一個場景,我需要找到生日爲今天或n天后的人。我如何在informix中實現它。日期時間函數幫助informix
SELECT mbr_code, fname, lname
INTO rsMbrCode, rsFName, rsLName
FROM asamembr
WHERE cust_code = membershipnumber
AND ((day(bdate) - day(CURRENT)) <= rsTest
AND MONTH(bdate) = month(CURRENT))
RETURN rsMbrCode, rsFName, rsLName WITH RESUME;