Groups | Blog | Home
all groups > sql server (alternate) > march 2006 >

sql server (alternate) : General Question about doing calculations in SQL


chudson007 NO[at]SPAM hotmail.com
3/14/2006 7:30:53 AM
This is a very general quastion.....

I regularily take data extracts from a SQL server database drop them in
excel and run a macro on the data.

The macro does nothing more complicated than loops, addition,
subtraction and remeber the changing value of a declared variable.
It works perfectly, but is constrained by the number of rows in excel.

I want to investigate the possibilty doing the calculations in the SQL
tables. (All the data is contained within one table).

What is the best way to approach this problem.
i=2Ee. can I get my excel macro to link to the Table and if not, what
other solutions are avialable to me.

Regards,
Ciar=E1n
jim_geissman NO[at]SPAM countrywide.com
3/14/2006 7:53:27 AM
T-SQL is essentially a standard 3rd generation language (with some
limitations, obviously), so if you can do it in Excel, you can probably
do it in a T-SQL procedure, all in one place without having to transfer
and re-load the data.

JG
chudson007 NO[at]SPAM hotmail.com
3/15/2006 3:32:18 AM
Thank you
AddThis Social Bookmark Button