Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: slightly OT: visual c++ and null values

Re: slightly OT: visual c++ and null values

From: Jan Pruner <jan_at_pruner.cz>
Date: Fri, 19 Oct 2001 06:19:39 -0700
Message-ID: <F001.003AFBEA.20011019055520@fatcity.com>

If you use ODBC (CTransaction + CRecordset in MFC) there is no problem to handle null values.

It isn't good idea to put 0 (zero) instead of null in number column.

JP

On Fri 19. October 2001 15:00, you wrote:
> hello!
>
> our developers here are requesting that I put defaults (' ' for
> chars/varchars, 0 for numbers, etc) in place instead of nulls in all
> columns that would supposedly allow null values...
> they are using visual c++ and they say that they cannot make visual c++
> retreive null values...
> i am very hesitant in implementing this...
> i have no knowledge whatsoever of visual c++ and don't know if this is
> true...
>
> i'd like to know if anyone had encountered this same problem before?
> or maybe someone can tell me if there is any truth to what our
> developers are saying...
>
>
> oracle817 on solaris7
>
> thanks =)
>
> --
> Maria Aurora VT de la Vega (OCP)
> Database Specialist
> Philippine Stock Exchange, Inc.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jan Pruner
  INET: jan_at_pruner.cz

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Oct 19 2001 - 08:19:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US