Click here to Skip to main content
15,890,438 members
Home / Discussions / Database
   

Database

 
QuestionHow to compact and repair database? Pin
LukeV26-Oct-02 7:10
LukeV26-Oct-02 7:10 
AnswerRe: How to compact and repair database? Pin
Philip Patrick26-Oct-02 9:02
professionalPhilip Patrick26-Oct-02 9:02 
GeneralEdit an Access DB on an internet server using a WinForms DataGrid Pin
Ikke24-Oct-02 9:00
Ikke24-Oct-02 9:00 
GeneralRe: Edit an Access DB on an internet server using a WinForms DataGrid Pin
Mazdak24-Oct-02 23:51
Mazdak24-Oct-02 23:51 
GeneralRe: Edit an Access DB on an internet server using a WinForms DataGrid Pin
Ikke25-Oct-02 5:41
Ikke25-Oct-02 5:41 
GeneralInserting spaces into TABLE creation Pin
José Luis Sogorb24-Oct-02 3:20
José Luis Sogorb24-Oct-02 3:20 
GeneralRe: Inserting spaces into TABLE creation Pin
Paul Watson24-Oct-02 4:15
sitebuilderPaul Watson24-Oct-02 4:15 
GeneralBest way of doing this (ADO) Pin
Jeremy Pullicino24-Oct-02 2:31
Jeremy Pullicino24-Oct-02 2:31 
Hello,

i have a problem that I am sure anyone who writes database Apps has come across. i am looking for the most elegant solution usnig ADO and an access MDB file, via C++

I have been working with ADO for quite a while now, but I am still unsure of the best way to do this.

I have a table which stores values from an email: TO, FROM and SUBJECT.

The TO field could contain multiple email addresses.
Currently I am storing them in a string, seperating each address with a comma.

This method works, but has these (and other) drawbacks:
1) When storing a list of emails, I must first format a string, sperating the emails with a comma
2) When Retrieving the list, I need to read the entire field and parse out the results into an internal list
3) SQL queries, for example, to check if an email exists get a bit complicated.

So, the question is, what alternative methods do you DB experts recommend?

As usual, thanks in advance,
Jeremy.





Jeremy Pullicino
Professional C++ Developer

Done any hacking lately?
GeneralRe: Best way of doing this (ADO) Pin
Mazdak24-Oct-02 2:35
Mazdak24-Oct-02 2:35 
GeneralRe: Best way of doing this (ADO) Pin
Ed Gadziemski24-Oct-02 4:05
professionalEd Gadziemski24-Oct-02 4:05 
GeneralOracle Data Provider Pin
Johan Lombaard23-Oct-02 23:55
Johan Lombaard23-Oct-02 23:55 
GeneralRe: Oracle Data Provider Pin
Vasudevan Deepak Kumar29-Oct-02 1:57
Vasudevan Deepak Kumar29-Oct-02 1:57 
GeneralRe: Oracle Data Provider Pin
Johan Lombaard29-Oct-02 2:03
Johan Lombaard29-Oct-02 2:03 
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 
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 

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.