Ask a Question related to Coldfusion Database Access, Design and Development.
-
Fordian-Slip #1
Sprocs vs. inline calculations
Hi Folks -
I am looking to get some thoughts on either best practices or speed
optimization ideas when it comes to generating a report that includes a lot of
calculations based upon records in a table.
I am wondering should I do this inline or all the calculations within a stored
proc?
To give a general idea... I have a yearly report that needs to calculate
totals based upon activity within a particual month.
January X Y Z
February X Y Z
etc...
Grand Total X Y Z
Thanks,
Doug
Fordian-Slip Guest
-
Calculations not working
Hi All, getting frustrated. I've done forms with calculations (invoice sheets etc.) and they worked well in the past. I can't seem to get the... -
Sprocs in Oracle vs. Other RDBMS
I was recently part of a Macromedia online training session, and someone (I'll keep names out of it for now) made a comment that CFMX and Oracle... -
[PHP-DEV] [PATCH] inline -> static inline
On Fri, 15 Aug 2003, Jason Greene wrote: Thanks, I have applied the patch. The CVS reorg did not affect karma assignment. - Sascha -
column calculations
create a computed column to add year to the existing column See following example. CREATE TABLE dbo.t2 ( dt datetime NULL, next_yr AS... -
calculations and tables
I'm relatively new to Access, and I'm in the process of creating a few simple databases to manage our inventory. This database is going to involve... -
dbahooker@hotmail.com #2
Re: Sprocs vs. inline calculations
you should use a sproc for everything
but i would just use plain sql over udf's or overly complex case when
then whenever you can
-aaron
dbahooker@hotmail.com Guest
-
SQLMenace #3
Re: Sprocs vs. inline calculations
I would stored the aggregated values for past months in a Historical table
And join that table with the current month calculations so that you don't have
to recalculate the same static data every time someone requests this report
If you create a Stored Proc the query plan will be reused by the optimizer
[url]http://sqlservercode.blogspot.com/[/url]
SQLMenace Guest



Reply With Quote

