Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL-SELECT and NULL values - HELP!
Message
From
16/09/1997 14:17:01
 
 
To
16/09/1997 12:12:12
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00050220
Message ID:
00050249
Views:
19
Hi Elyse,

Try something like

SELECT IIF( ISNULL( MyField ), SPACE( MyFieldLength ), MyField ) AS MySelectField FROM ...

Bill

>I'm running into problems with NULL values appearing in my SQL SELECT queries. Is there anyway to keep NULL values out of fields in my SQL query? All of my table fields do NOT accept NULL values. It would be very difficult to go back and re-write every SQL to check every value for ISNULL(). Is there some kind of SET NULL OFF that will work for SQL-SELECT?
>
>Thanks
>Elyse
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform