Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread Alternative to INTERVAL
Tue, Nov 14 2023 2:55 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

I've been working with Ian Branch on an alternative to INTERVAL for incermenting/decrementing timestamps. I've attached two files - one is a pure SQL internal function and the other an external function written in Dedlphi.

The SQL one is DateAdd - used line DateAdd('DAY',5,TimestampValue). The big difference between DateAdd and INTERVAL is that DateAdd uses a variable not a constant.

Ian and I have tested as best we can and it seems to be working correctly. Anyone finding problems please post here.


Roy Lambert





Attachments: DateAdd.sql External.7z
Image