Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NULL Values from Outer Joins
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00474253
Message ID:
00474378
Views:
30
>Is there anyway to prevent ".null." from populating a field when an outer join is done and no match is found in the child table? I already have SET NULL OFF.

See the NVL() function.

Ex:
SELECT NVL(MyField, My_Default_Value) AS MyField, ....
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform