Click here to Skip to main content
15,891,372 members
Home / Discussions / Database
   

Database

 
GeneralMultiple Inserts in a Stored Procedure Pin
RJS23-Oct-02 11:32
RJS23-Oct-02 11:32 
GeneralRe: Multiple Inserts in a Stored Procedure Pin
Nick Parker23-Oct-02 12:50
protectorNick Parker23-Oct-02 12:50 
GeneralRe: Multiple Inserts in a Stored Procedure Pin
SimonS23-Oct-02 17:44
SimonS23-Oct-02 17:44 
GeneralRe: Multiple Inserts in a Stored Procedure Pin
RJS24-Oct-02 4:17
RJS24-Oct-02 4:17 
GeneralRe: Multiple Inserts in a Stored Procedure Pin
Morten Abrahamsen24-Oct-02 19:45
Morten Abrahamsen24-Oct-02 19:45 
GeneralRe: Multiple Inserts in a Stored Procedure Pin
SimonS25-Oct-02 7:51
SimonS25-Oct-02 7:51 
GeneralMySQL w/ MyODBC - SQLGetCursorName() fails Pin
PJ Arends23-Oct-02 10:09
professionalPJ Arends23-Oct-02 10:09 
QuestionDatabase not fast enough? Pin
LukeV23-Oct-02 8:51
LukeV23-Oct-02 8:51 
Hello,

I'm using an .mdb file as a database for a project i'm working on. I have a series of words that I have to loop through and for each word I have to:

1) Check if the word is already in the table (SELECT COUNT(*) ... )
2) If it is, then update count (UPDATE ... )
3) If does not exists, create entry (INSERT INTO ... )

I'm using OLE DB's CDynamicAccessor with SQL queries but the search part (SELECT COUNT(*) WHERE word = 'blabla') is very slow. Is there a way to make this any faster? I need something like "find first occurence of... ".

By the way, maybe it's because I set the tables poorly (I didn't use indexes and such...) maybe the problem's there!

Thanks!

---------------
Concentrating on Ideas
http://www.edovia.com
AnswerRe: Database not fast enough? Pin
Daniel Turini23-Oct-02 9:03
Daniel Turini23-Oct-02 9:03 
GeneralRe: Database not fast enough? Pin
LukeV23-Oct-02 10:10
LukeV23-Oct-02 10:10 
GeneralRe: Database not fast enough? Pin
Daniel Turini23-Oct-02 10:17
Daniel Turini23-Oct-02 10:17 
GeneralRe: Database not fast enough? Pin
LukeV23-Oct-02 10:29
LukeV23-Oct-02 10:29 
AnswerRe: Database not fast enough? Pin
Vagif Abilov23-Oct-02 10:33
professionalVagif Abilov23-Oct-02 10:33 
GeneralRe: Database not fast enough? Pin
LukeV23-Oct-02 10:40
LukeV23-Oct-02 10:40 
AnswerRe: Database not fast enough? Pin
Matt Gullett23-Oct-02 11:52
Matt Gullett23-Oct-02 11:52 
GeneralRe: Database not fast enough? Pin
LukeV23-Oct-02 13:05
LukeV23-Oct-02 13:05 
GeneralWorking with DataSet and XSD files Pin
Noam Ben Haim23-Oct-02 6:13
Noam Ben Haim23-Oct-02 6:13 
GeneralConnecting from ASP.Net to MySql Pin
Smitha Nishant23-Oct-02 2:25
protectorSmitha Nishant23-Oct-02 2:25 
GeneralRe: Connecting from ASP.Net to MySql Pin
Morten Abrahamsen24-Oct-02 19:48
Morten Abrahamsen24-Oct-02 19:48 
GeneralRe: Connecting from ASP.Net to MySql Pin
Smitha Nishant24-Oct-02 23:05
protectorSmitha Nishant24-Oct-02 23:05 
GeneralInstalling an Excel Driver Pin
José Luis Sogorb22-Oct-02 23:47
José Luis Sogorb22-Oct-02 23:47 
GeneralRe: Installing an Excel Driver Pin
Paul Riley23-Oct-02 0:31
Paul Riley23-Oct-02 0:31 
GeneralRe: Installing an Excel Driver Pin
José Luis Sogorb23-Oct-02 6:54
José Luis Sogorb23-Oct-02 6:54 
GeneralRe: Installing an Excel Driver Pin
Paul Riley23-Oct-02 7:36
Paul Riley23-Oct-02 7:36 
GeneralNeed help to write stored procedure Pin
Mazdak22-Oct-02 20:47
Mazdak22-Oct-02 20:47 

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.