Ask a Question related to Coldfusion Database Access, Design and Development.
-
mike2004 #1
a date query question
I have this update query: UPDATE AccountsIpLogs SET LoggedIn = '0' I would
like to add below WHERE statement but I don't know how to write it: I want to
set LoggedIn equal to Zero where TheDate field is 15 minutes older than Now()
date and time. Basically this query will run every 15 minutes to identify
logged out clients. Any help would appriciate. Thanks, Mike
mike2004 Guest
-
date query problem, date in variable
I am using the following query : $query_archief = "SELECT * FROM vacatures where dd_eind_plaatsing < $dd_eind_plaatsing_archief1" note:... -
PHP Date Query
I'm trying to create a recordset where I query a date field in my database. I can't figure the syntax. A little help here: WHERE Category =... -
Date Query
I am attempting to pull information from a database and the main criteria of how I retrieve the information in a date format. The startdate and... -
MS Access + date query
Hi I have got access table with two date/time field namely field1 and field2. I made one html form that inputs two dates (it's not mandatory... -
Date query in ASP
ASP/Scripting newbie question here. I have an access database that I am writing ASP pages to query and return the results. The end user can put... -
vkunirs #2
Re: a date query question
Hi
use the datediff to find the sec
[url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi58.htm[/url]
or else you can directly write in the query itself like
UPDATE AccountsIpLogs
SET LoggedIn = '0'
where datediff(logindate,now())>15 sec.
you can do this way also. here i have not written the correct syntax. but you
can do this way also, no need of cf.
vkunirs Guest
-
-



Reply With Quote

