Click here to Skip to main content
15,888,984 members
Home / Discussions / Database
   

Database

 
GeneralRe: connecting to a database from a stored procedure Pin
Colin Angus Mackay4-Jul-05 22:50
Colin Angus Mackay4-Jul-05 22:50 
GeneralI want to change the owner of the object............. Pin
under28114-Jul-05 19:05
under28114-Jul-05 19:05 
GeneralRe: I want to change the owner of the object............. Pin
Christian Graus4-Jul-05 19:19
protectorChristian Graus4-Jul-05 19:19 
GeneralRe: I want to change the owner of the object............. Pin
under28114-Jul-05 19:41
under28114-Jul-05 19:41 
GeneralRe: I want to change the owner of the object............. Pin
Christian Graus4-Jul-05 19:46
protectorChristian Graus4-Jul-05 19:46 
GeneralRe: I want to change the owner of the object............. Pin
Scott Serl5-Jul-05 12:38
Scott Serl5-Jul-05 12:38 
Generalsd Pin
Anonymous4-Jul-05 18:56
Anonymous4-Jul-05 18:56 
QuestionHow to optimise performance of retrieving multiple sql function results from DB Pin
luckyeagle4-Jul-05 12:50
luckyeagle4-Jul-05 12:50 
I got an application connected to a piece of local MS Access database.
My goal is to get results of 50 count numbers from a table.
So what I did is
1)Create a stored procedure in Access "parameter ... select count(*) from table between '$inputA' and '$inputB'". Test it in Access,and it works well to get correct results.
2)In my C# application I create a oledbconnection with Access file and set the command type to be storedprocedure, then call it using executeScaler with different input parameters for 50 times.

It seems the performance is so slowD'Oh! | :doh:

Is there anyone with better logic to improve this design and make the program faster?

Thanks

AnswerRe: How to optimise performance of retrieving multiple sql function results from DB Pin
Rob Graham4-Jul-05 13:14
Rob Graham4-Jul-05 13:14 
GeneralRe: How to optimise performance of retrieving multiple sql function results from DB Pin
luckyeagle4-Jul-05 14:43
luckyeagle4-Jul-05 14:43 
GeneralRe: How to optimise performance of retrieving multiple sql function results from DB Pin
Rob Graham5-Jul-05 5:56
Rob Graham5-Jul-05 5:56 
GeneralT-QL Problem Pin
WDI4-Jul-05 10:38
WDI4-Jul-05 10:38 
GeneralRe: T-QL Problem Pin
Colin Angus Mackay4-Jul-05 11:32
Colin Angus Mackay4-Jul-05 11:32 
GeneralRe: T-QL Problem Pin
WDI4-Jul-05 21:05
WDI4-Jul-05 21:05 
GeneralRe: T-QL Problem Pin
Colin Angus Mackay4-Jul-05 22:46
Colin Angus Mackay4-Jul-05 22:46 
GeneralRe: T-QL Problem Pin
WDI5-Jul-05 3:29
WDI5-Jul-05 3:29 
GeneralRe: T-QL Problem Pin
Colin Angus Mackay5-Jul-05 3:38
Colin Angus Mackay5-Jul-05 3:38 
GeneralLDAP Frontend to MSSQL Pin
MrEyes4-Jul-05 2:13
MrEyes4-Jul-05 2:13 
GeneralIMPORT ACCESS FROM SQL SERVER 2000 Pin
RajithCAlwis4-Jul-05 0:47
RajithCAlwis4-Jul-05 0:47 
GeneralRe: IMPORT ACCESS FROM SQL SERVER 2000 Pin
Rob Graham4-Jul-05 13:23
Rob Graham4-Jul-05 13:23 
GeneralRe: IMPORT ACCESS FROM SQL SERVER 2000 Pin
RajithCAlwis4-Jul-05 17:02
RajithCAlwis4-Jul-05 17:02 
GeneralParadox lock Pin
Screwtape4-Jul-05 0:29
Screwtape4-Jul-05 0:29 
GeneralRe: Paradox lock Pin
Rob Graham4-Jul-05 13:25
Rob Graham4-Jul-05 13:25 
GeneralRe: Paradox lock Pin
Screwtape4-Jul-05 21:47
Screwtape4-Jul-05 21:47 
GeneralRe: Paradox lock Pin
Rob Graham5-Jul-05 6:01
Rob Graham5-Jul-05 6:01 

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.