Is anyone using "DEFAULT DATE IS NULL" in a database statement?

Stephen Hulbert shulbert at littlejohnllp.com
Tue Nov 9 05:37:05 CST 2010


Hi listers,
Ten years ago, when we moved over to an Oracle back end from CISAM, we made the decision to keep using zero for dates with no value.
This is fine if you only want to use Powerhouse to access the data, but anything else (including Oracle) complains loudly and at length about invalid dates.
Talking to Cognos, there's a "DEFAULT DATE IS NULL" option on the database statement which entirely transparently translates NULL dates in the database into zero value dates for consumption by Powerhouse.
Does it work? Does it work transparently?
Does anyone have experience of using it? I guess if you're using a SQL Server back end or an ODBC connection you have no choice.
More importantly, does anyone have any experience of turning this option on for a very mature database?
The upgrade path (make columns nullable, use QTP to set them to null, turn option on, recompile) would seem to be fairly simple, but are there any gotchas?
Many thanks in advance,
Stephen.


--
Stephen Hulbert
Senior Analyst Programmer
For and on behalf of
Littlejohn LLP
Direct: 020 7516 2201




Littlejohn
1 Westferry Circus
Canary Wharf
London
E14 4HD

T: 020 7516 2200
F: 020 7516 2400
www.littlejohnllp.com

Littlejohn LLP, Chartered Accountants

The information contained in this communication is confidential and may be
legally privileged. It is intended solely for the use of the individual or
entity to whom it is addressed and others authorised to receive it. If you
are not the intended recipient you are hereby notified that any disclosure,
copying, distribution or taking of any action in reliance on the contents of
this information is strictly prohibited and may be unlawful.
 
Littlejohn LLP reserves the right to monitor the content of any
message sent to or from littlejohnllp.com.

Littlejohn LLP is registered as a limited liability partnership in England and Wales No. OC342572.  
Registered office as above.
 
Any reference to a partner is to a member of the limited liability partnership. 
A list of members is available at the registered office.

Littlejohn Advisors LLP is a limited liability partnership registered in 
England and Wales No. OC331599. Registered office as above.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20101109/f1adf06c/attachment-0001.htm 


More information about the powerh-l mailing list