473,387 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

General Question about doing calculations in SQL

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.e. can I get my excel macro to link to the Table and if not, what
other solutions are avialable to me.

Regards,
Ciarán

Mar 14 '06 #1
2 1564
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

Mar 14 '06 #2
Thank you

Mar 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andreas Pauley | last post by:
Hi All, Our company is currently evaluating Python as a language for writing financial/accounting type software (among others). What libraries or packages are available in this domain for use?...
7
by: Ali | last post by:
I was wondering if it was posible to get very good presicion. I mean like to the to the 100 th or more decimal place. if so how?
5
by: Brent Hill | last post by:
Hello All! I just have a quick little question that I have not been able to solve myself. Within a program being developed in VS.NET, I have written a private function with the following code:...
15
by: MuZZy | last post by:
Hi, Consider this: ArrayList al = new ArrayList(); FillList(al); /// NOW TWO SCENARIOS: /// 1. for (int i = 0 ; i < al.Count ; i++)
6
by: djc | last post by:
I had previously (in asp.net 1.1 and asp.net web matrix) just done this to populate a listbox with data from a database: ------------ this was from the page load event ---------------- 'fill...
6
by: Daniel | last post by:
Hi guys I have a requirment to calculate a prize pool for a competiton similar to a poker tournament. But i am stuck on best ways or even if i have the right ideas, so: Players pay to play,...
14
by: JoeC | last post by:
I have been writing games and I also read about good programming techniques. I tend to create large objects that do lots of things. A good example I have is a unit object. The object controls...
4
by: Peted | last post by:
hi, im wondering if there is a definitve answer to this. If you build a winforms/wpf application in vs2008, when you have compiled and run the app, does it run as fast (in general) as if you...
17
Gregor McAlen
by: Gregor McAlen | last post by:
Currently after doing some research and consulting bytes forum members I started to study C++ with a long-term goal of creating my own project <add-on for current 3d game engines that will calculate...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.