Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Improving sluggish SQL
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00306158
Message ID:
00319752
Views:
20
Hi Nadya,

If i understood correctly, you want to change null values by empty values, isn' it? If so, You can use NVL funtion. This funtion returns a non-null value, between 2 variables.
Example:

a = .null.
b = "my value"
WAIT WINDOW NVL(a,b)

This will return "MY VALUE", because A was a null value, and B wans't.
You can include NVL at your SELECT statement.

Hope it helps. Nice to hear from you.

Ricardo
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform