Click here to Skip to main content
15,914,066 members
Home / Discussions / Database
   

Database

 
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 
AnswerRe: Database not fast enough? Pin
Daniel Turini23-Oct-02 9:03
Daniel Turini23-Oct-02 9:03 
I never used CDynamicAccessor before, but you are hitting too much the database.

use:

UPDATE table SET count = count + 1 WHERE word = 'blabla'

Also, check if there is an index on the word field.

With OLEDB you should have something similar to ADO's RecordsAffected. Then, if RecordsAffected == 0, you execute INSERT INTO

Q261186 - Computer Randomly Plays Classical Music
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 
GeneralRe: Need help to write stored procedure Pin
Rein Hillmann22-Oct-02 21:12
Rein Hillmann22-Oct-02 21:12 

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.