Hi, I have a huge database of daily records(about 60 years),and I have made a table for each year. I am confused what is the best way to have CF get all the data?
for one year I can just do a cfquery of the table, no problem here, but if I want to view lets say 10 years of data, how would I go about this? the db as the form of: year month day location time wind I was thinking I could use "year" as the primary key, but then changing changing the years is what leaves me so confused. I say this as I think that the first db field has to be the primary key? I hope that I wrote this good enough to where you can make sense of this and send some help. I could also show sample code as well. Somebody told me why not just have everything in one table, but then that would be way too big I think. Thank you very much, John ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3060 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
