in reply to Re^2: Need help in Perl DBI (SQLite) execute behaviour
in thread Need help in Perl DBI (SQLite) execute behaviour

Is your database field creationTime type INTEGER ?.

You might find this statement works

DELETE FROM session WHERE creationTime < ?

if you make the parameter

(time() - SESSION_MAX_LIFE_TIME)

which I think is easier to understand

poj

Replies are listed 'Best First'.
Re^4: Need help in Perl DBI (SQLite) execute behaviour
by sam_bakki (Pilgrim) on Jul 15, 2013 at 05:43 UTC