Click here to Skip to main content
15,889,176 members
Home / Discussions / Database
   

Database

 
QuestionRe: connection parameters in configuration file Pin
Fadi Yoosuf10-Jun-09 8:12
Fadi Yoosuf10-Jun-09 8:12 
AnswerRe: connection parameters in configuration file Pin
Mycroft Holmes10-Jun-09 12:59
professionalMycroft Holmes10-Jun-09 12:59 
QuestionConfusion on Full Text Searching Pin
Brendan Vogt9-Jun-09 3:33
Brendan Vogt9-Jun-09 3:33 
AnswerRe: Confusion on Full Text Searching Pin
Eddy Vluggen9-Jun-09 7:23
professionalEddy Vluggen9-Jun-09 7:23 
QuestionPerfomance Question on the Following Query Pin
Vimalsoft(Pty) Ltd8-Jun-09 22:39
professionalVimalsoft(Pty) Ltd8-Jun-09 22:39 
AnswerRe: Perfomance Question on the Following Query Pin
J4amieC8-Jun-09 23:00
J4amieC8-Jun-09 23:00 
GeneralRe: Perfomance Question on the Following Query Pin
Vimalsoft(Pty) Ltd8-Jun-09 23:11
professionalVimalsoft(Pty) Ltd8-Jun-09 23:11 
AnswerCan you cache the data ? Pin
David Mujica9-Jun-09 2:48
David Mujica9-Jun-09 2:48 
If you are looking for the fastest way to retrieve data, maybe you should look at populating some type of collection once at the start of the applicaiton so that subsequent lookups do not make database calls.

Generally indexes won't work in this situation because you are using a function on the field, "Descr".

Also, why would you be storing leading spaces in the "Descr" field ? Perform a LTrim(Descr) on the data before storing it.

Consider this before implementing a cache:
1) How many rows are in the tbl_staff table ? Too many rows may cause excessive memory usage by your application, but if we are talking even a few thousand, you should be OK.

2) How often are rows inserted into the tbl_staff table ? How will you synchronize the collection with the new data in the database ? (This can be done if you have built a data abstraction layer ...)
GeneralRe: Can you cache the data ? Pin
Vimalsoft(Pty) Ltd9-Jun-09 20:57
professionalVimalsoft(Pty) Ltd9-Jun-09 20:57 
GeneralCheck the Execution Plan Pin
David Mujica10-Jun-09 3:28
David Mujica10-Jun-09 3:28 
GeneralRe: Check the Execution Plan Pin
Vimalsoft(Pty) Ltd10-Jun-09 3:33
professionalVimalsoft(Pty) Ltd10-Jun-09 3:33 
QuestionDB2 Update Query Problem Pin
DBLearner8-Jun-09 6:38
DBLearner8-Jun-09 6:38 
AnswerRe: DB2 Update Query Problem Pin
Kschuler8-Jun-09 11:20
Kschuler8-Jun-09 11:20 
QuestionHome Business Service Solution (2295) Pin
furqanht rauf8-Jun-09 4:14
furqanht rauf8-Jun-09 4:14 
AnswerRe: Home Business Service Solution (2295) Pin
J4amieC8-Jun-09 4:27
J4amieC8-Jun-09 4:27 
QuestionTruncate Zeros Pin
mehrdadc488-Jun-09 3:26
mehrdadc488-Jun-09 3:26 
AnswerRe: Truncate Zeros Pin
J4amieC8-Jun-09 3:56
J4amieC8-Jun-09 3:56 
GeneralRe: Truncate Zeros Pin
smcnulty20008-Jun-09 13:34
smcnulty20008-Jun-09 13:34 
AnswerRe: Truncate Zeros Pin
Lau039-Jun-09 5:35
Lau039-Jun-09 5:35 
QuestionMS ACCESS Problem Pin
jonhbt8-Jun-09 3:08
jonhbt8-Jun-09 3:08 
AnswerRe: MS ACCESS Problem Pin
paas8-Jun-09 6:03
paas8-Jun-09 6:03 
Questionany recommendations on basic database books? Pin
cozandeffect8-Jun-09 0:03
cozandeffect8-Jun-09 0:03 
AnswerRe: any recommendations on basic database books? Pin
smcnulty20008-Jun-09 0:23
smcnulty20008-Jun-09 0:23 
AnswerRe: any recommendations on basic database books? Pin
Henry Minute8-Jun-09 1:58
Henry Minute8-Jun-09 1:58 
AnswerRe: any recommendations on basic database books? Pin
Jerry Hammond8-Jun-09 12:42
Jerry Hammond8-Jun-09 12:42 

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.