Hi, Thanks for the reply but while that works in Sybase or SQL Server, I don't think that works in Interbase. First, I get an error in ISQL about not having DATEDIFF or minute, and the DML definition statement to declare DATEDIFF shows that it takes 2 date arguments only, nothing for 'minute'
it's as follows:
DECLARE EXTERNAL FUNCTION DATEDIFF
DATE, DATE
RETURNS INTEGER
ENTRY_POINT 'fn_datediff' MODULE_NAME 'ib_udf';
Main Topics
Browse All Topics





by: jungesPosted on 2009-03-31 at 04:12:15ID: 24027524
use datediff
datediff(MINUTE, CURRENT_TIMESTAMP, myField )