Click here to Skip to main content
16,005,552 members
Home / Discussions / Database
   

Database

 
AnswerRe: Saving date time! Pin
baerten18-Oct-06 1:37
baerten18-Oct-06 1:37 
GeneralRe: Saving date time! Pin
Shahzad.Aslam18-Oct-06 20:53
Shahzad.Aslam18-Oct-06 20:53 
AnswerRe: Saving date time! Pin
Mike Dimmick19-Oct-06 6:53
Mike Dimmick19-Oct-06 6:53 
AnswerRe: Saving date time! Pin
BlueBrother19-Oct-06 8:28
BlueBrother19-Oct-06 8:28 
QuestionTo find dependencies of a table Pin
rahuljosh007200017-Oct-06 18:22
rahuljosh007200017-Oct-06 18:22 
AnswerRe: To find dependencies of a table Pin
Aby Thomas Varghese18-Oct-06 9:13
Aby Thomas Varghese18-Oct-06 9:13 
GeneralRe: To find dependencies of a table Pin
rahuljosh007200018-Oct-06 21:03
rahuljosh007200018-Oct-06 21:03 
Questionsaving tables that are generated by queries as HTML file or sub-tables Pin
miamikk17-Oct-06 11:15
miamikk17-Oct-06 11:15 
I have a trade data tables (about 10) and I need to retrieve information based on input parameters. Each table has about 3-4 million rows.

The table has columns like Commodity, Unit, Quantity, Value, Month, Country

A typical query I use to select data is "Select top 10 commodity , sum(value), sum(quantity) , column4, column5, column6 from table where month=xx and country=xxxx"

The column4 = (column2)/(total sum of value) and column 5=(column3)/(total sum of quantity). Column6=column5/column4.

It takes about 3-4 minutes for the query to complete and its a lot of time specially since I need to pull this information from a webpage.

I wanted to know if there is an alternate way to pull the data from server ?

I mean can I write a script that creates tables for all the input combinations i.e month x country (12x228) and save them in table (subtable-table) with a naming convention so from the web I can just pull the table with input parameters mapped to name convention and not running any runtime queries on database ??

OR

Can I write a script that creates a html files for each table for all input combinations save them ?

OR

Is there exists any other solution ?
AnswerRe: saving tables that are generated by queries as HTML file or sub-tables Pin
Michael Potter17-Oct-06 12:04
Michael Potter17-Oct-06 12:04 
GeneralRe: saving tables that are generated by queries as HTML file or sub-tables Pin
miamikk17-Oct-06 12:20
miamikk17-Oct-06 12:20 
GeneralRe: saving tables that are generated by queries as HTML file or sub-tables Pin
Eric Dahlvang18-Oct-06 3:09
Eric Dahlvang18-Oct-06 3:09 
GeneralRe: saving tables that are generated by queries as HTML file or sub-tables Pin
miamikk18-Oct-06 4:10
miamikk18-Oct-06 4:10 
GeneralRe: saving tables that are generated by queries as HTML file or sub-tables Pin
Eric Dahlvang18-Oct-06 5:02
Eric Dahlvang18-Oct-06 5:02 
GeneralRe: saving tables that are generated by queries as HTML file or sub-tables Pin
Michael Potter18-Oct-06 3:34
Michael Potter18-Oct-06 3:34 
GeneralRe: saving tables that are generated by queries as HTML file or sub-tables Pin
miamikk18-Oct-06 4:16
miamikk18-Oct-06 4:16 
GeneralRe: saving tables that are generated by queries as HTML file or sub-tables Pin
Michael Potter18-Oct-06 4:46
Michael Potter18-Oct-06 4:46 
QuestionClearing the LOG file ?!! Pin
devboycpp17-Oct-06 8:18
devboycpp17-Oct-06 8:18 
AnswerRe: Clearing the LOG file ?!! Pin
Mike Dimmick17-Oct-06 11:37
Mike Dimmick17-Oct-06 11:37 
QuestionSelect statement on Cursor Pin
Jens Meyer17-Oct-06 4:27
Jens Meyer17-Oct-06 4:27 
AnswerRe: Access or SQL Express?? Pin
Jim Conigliaro17-Oct-06 4:26
Jim Conigliaro17-Oct-06 4:26 
AnswerRe: Access or SQL Express?? Pin
stevehnsn17-Oct-06 15:53
stevehnsn17-Oct-06 15:53 
QuestionAccess or SQL Express?? Pin
quinton.nel17-Oct-06 0:25
quinton.nel17-Oct-06 0:25 
AnswerRe: Access or SQL Express?? Pin
Colin Angus Mackay17-Oct-06 0:59
Colin Angus Mackay17-Oct-06 0:59 
GeneralRe: Access or SQL Express?? Pin
quinton.nel17-Oct-06 1:21
quinton.nel17-Oct-06 1:21 
GeneralRe: Access or SQL Express?? Pin
Jerry Hammond18-Oct-06 4:13
Jerry Hammond18-Oct-06 4:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.