current_timestamp instead of getdate()


On Thu, 13 Sep 2001, Fusebox wrote:

> Fusebox-list                   Thu, 13 Sep 2001            Volume 1 : Number 5
>
> In this issue:
>
>         SQL SERVER 2000 GETDATE() -1
>
>
> ----------------------------------------------------------------------
>
> Date: Thu, 13 Sep 2001 16:23:44 -0500
> From: webmaster <[EMAIL PROTECTED]>
> Subject: SQL SERVER 2000 GETDATE() -1
> Message-ID: <[EMAIL PROTECTED]>
>
> I hope someone out there can help me.
>
> I'm polling my sql server 2k database for data according to the date it
> was submitted inside the database.  This is what I am currently using in
> my "where statement":
>
> formfield <= getdate() -1
>
> the -1 is supposed to select all data one day old using the short date
> mask in the database.  All values in the database are already in the
> mm/dd/yyyy form.
>
> but this is not working. Does someone out there have a solution for me?
>
> If someone wants to see this monster fusebox site, go to
> www.hotmediadeals.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Structure your ColdFusion code with Fusebox. Get the official book at 
>http://www.fusionauthority.com/bkinfo.cfm
>
> ------------------------------
>
> End of Fusebox-list V1 #5
> *************************
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
>


Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to