Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: "undef" is not NULL and what to do about it

by nikosv (Chaplain)
on Feb 20, 2013 at 20:07 UTC ( #1019838=note: print w/replies, xml ) Need Help??


in reply to Re: "undef" is not NULL and what to do about it
in thread "undef" is not NULL and what to do about it

++ for the link!

This is one of the reasons why we - in ALLL our database types - disallow NULL values. All fields should have (default) values

can't avoid the nulls produced by the outer joins though,i.e a left one

If I insert an empty string into a varchar field in Oracle, it helpfully inserts a NULL instead

I am not familiar with Oracle;how does it behave when when you put a not null constraint on the column?

catering for nulls is such an important issue that for example C# introduced Nullable Types into the core language

  • Comment on Re^2: "undef" is not NULL and what to do about it

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019838]
help
Chatterbox?
[Lady_Aleena]: Disc, nope.
[Discipulus]: ahi ahi ahi!!
[Lady_Aleena]: paco is a little over 2 years before my time.
[Discipulus]: you can try tachyon's iterative approach Re: Win32 Recursive Directory Listing
[Lady_Aleena]: I'm on Linux/
[beech]: isn't 2 year about standard recovery time for that kind of surgery?
[Discipulus]: if you hate FIle::Find
[Lady_Aleena]: I don't hate it, it just drives me crazy.
[Discipulus]: LA the solution is portable to whatever

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2017-04-23 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.