General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Getting rid of nulls on an outer join
Environment versions
Network:
Windows 2008 Server
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only