Click here to Skip to main content
15,916,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: bstr question Pin
Ernest Laurentin22-Aug-02 10:27
Ernest Laurentin22-Aug-02 10:27 
GeneralRe: bstr question Pin
Stephane Rodriguez.22-Aug-02 10:48
Stephane Rodriguez.22-Aug-02 10:48 
GeneralDialog Bars Pin
Chun Te, Ewe22-Aug-02 9:51
Chun Te, Ewe22-Aug-02 9:51 
GeneralRe: Dialog Bars Pin
Ernest Laurentin22-Aug-02 10:16
Ernest Laurentin22-Aug-02 10:16 
GeneralNo ole object (blob) entered in database Pin
ns22-Aug-02 9:20
ns22-Aug-02 9:20 
GeneralRe: No ole object (blob) entered in database Pin
Tomasz Sowinski22-Aug-02 9:34
Tomasz Sowinski22-Aug-02 9:34 
GeneralRe: No ole object (blob) entered in database Pin
ns22-Aug-02 9:41
ns22-Aug-02 9:41 
GeneralRe: No ole object (blob) entered in database Pin
Tomasz Sowinski22-Aug-02 10:01
Tomasz Sowinski22-Aug-02 10:01 
It seems your DB experience is extremely thin Smile | :)

One of major concepts in databases are null values. This has nothing to do with C/C++ NULL pointer. Null value designates something which is unknown/not present. SQL provides special operators, like "IS NULL" or "IS NOT NULL", because you can't compare things with NULL.

Your example with "_" as special string is ideal candidate for using null values, as is the blob situation.

How do you set/check for null values in ADO? I don't know; it's been few years since I've coded last database app, and I was using OLEDB (ADODB underlying technology).




Tomasz Sowinski -- http://www.shooltz.com

"Yields falsehood when preceded by its quotation" yields falsehood when preceded by its quotation.

GeneralDistribution problem Pin
Keith Goddard22-Aug-02 9:08
Keith Goddard22-Aug-02 9:08 
GeneralRe: Distribution problem Pin
Tomasz Sowinski22-Aug-02 9:25
Tomasz Sowinski22-Aug-02 9:25 
GeneralTrouble passing CTreeCtrl parameter Pin
brianwelsch22-Aug-02 8:57
brianwelsch22-Aug-02 8:57 
GeneralRe: Trouble passing CTreeCtrl parameter Pin
Chris Losinger22-Aug-02 9:08
professionalChris Losinger22-Aug-02 9:08 
Generalmulti-tier architecture Pin
Anonymous22-Aug-02 8:46
Anonymous22-Aug-02 8:46 
QuestionFont: Exist or not? Pin
BlackSmith22-Aug-02 7:09
BlackSmith22-Aug-02 7:09 
AnswerRe: Font: Exist or not? Pin
l a u r e n22-Aug-02 7:17
l a u r e n22-Aug-02 7:17 
AnswerRe: Font: Exist or not? Pin
Tomasz Sowinski22-Aug-02 7:29
Tomasz Sowinski22-Aug-02 7:29 
GeneralDefault CSP and GetLastError() (Encryption Problems) Pin
esapp42022-Aug-02 6:11
esapp42022-Aug-02 6:11 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
Martin Ziacek22-Aug-02 6:35
Martin Ziacek22-Aug-02 6:35 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
Martin Ziacek22-Aug-02 7:05
Martin Ziacek22-Aug-02 7:05 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
esapp42022-Aug-02 7:34
esapp42022-Aug-02 7:34 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
esapp42022-Aug-02 9:02
esapp42022-Aug-02 9:02 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
esapp42022-Aug-02 9:28
esapp42022-Aug-02 9:28 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
Martin Ziacek22-Aug-02 19:07
Martin Ziacek22-Aug-02 19:07 
Generalswapping bytes Pin
Anonymous22-Aug-02 6:04
Anonymous22-Aug-02 6:04 
GeneralRe: swapping bytes Pin
Chris Losinger22-Aug-02 6:16
professionalChris Losinger22-Aug-02 6:16 

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.