I would create a calendar table that can be joined to your weekly table.
The tables would be joined by the date fields.

The calendar table would have a record for each date from the beginning
of your data until way in the future.

Also, each record would have a week number, quarter, year, month, etc.
Add any other data fields that would be helpful when querying your data.

m!ke 

-----Original Message-----
From: Nate Willard [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 22, 2008 1:58 PM
To: CF-Talk
Subject: Re: Storing Records Weekly in the database - Ideas on how to
record the week

Ian,


Great point about the years, I feel silly for not think of that. 


Can anyone recommend a way to obtain the current week's DateFormat for
inserting into the DB?


Thanks

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304015
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to