Use isnull( columnWithNull, replacementValue )

Select  myFieldList, isnull(Table1.Col1, 0) as NonNullTotal
from myStuff


On Wed, Apr 15, 2015 at 1:43 PM, Jeff Johnson <[email protected]> wrote:

> I have a bunch of tables created by exporting from SQL Server and they
> allow nulls on each field.  Is there a way to not allow nulls for an
> existing table other than unchecking each field?
>
> TIA
>
> --
> Jeff
>
> Jeff Johnson
> [email protected]
> SanDC, Inc.
> (623) 582-0323
> SMS (602) 717-5476
> Fax 623-869-0675
>
> www.san-dc.com
> www.cremationtracker.com
> www.agentrelationshipmanager.com
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cajidmyk7jqb5b2m4w0lukn9-yx3qysxbqepjvqfeqgleff-...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to