Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting rid of nulls on an outer join
Message
From
08/08/2013 19:39:13
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
08/08/2013 19:06:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 5
OS:
Windows 2000 SP4
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01580135
Message ID:
01580139
Views:
85
This message has been marked as the solution to the initial question of the thread.
look at the nvl() function
>Hi All:
>
>I'm JOINing two tables on a LEFT OUTER JOIN. So, some of the fields on the right have nulls if the join fails.
>
>I then get an error when I try to perform a SELECT SUM(foo) foo2. The error is 'Error 1581 Field foo2 does not accept null values'.
>
>Note that I am working on VFP5! It's an SBT app from 100 years ago.
>
>Any ideas?
>
>Thanks,
>
>Yossi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform