cookiemonster
Posts: 1
|
Posted: 08/30/2012, 5:04 AM |
|
Hi
I'm new to CCS and i'm having some problems bringing values from database table (about 6000 rows of data).
I tried changing the sql clause so it will only bring 1 value from each row (id), but even that causes timeout with server.
I removed some data from the database table in question and only left 1000 rows there and it seems to work without causing timeout.
I think the problem may be in how CCS dynamically creates report table or handles the data from server(just guessing).
Below is user defined query but if fields are empty it just gets every row inside the table.
SELECT Id, value1, value2, .... value 6
FROM table1
WHERE value1 = {s_value1}
AND value2 = {s_value2}
AND value3 = {s_value3}
AND ( Time >= '{s_Time1}'
AND Time <= '{s_Time2}' )
I'm using CCS 5, Microsoft SQL server and IIS.
Any help would be appreciated and if someone likes to take a closer look i can provide the necessary code.
|
|
|
|