Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select records and fill in default value when empty?
Message
From
10/09/2004 09:47:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Select records and fill in default value when empty?
Miscellaneous
Thread ID:
00941026
Message ID:
00941026
Views:
100
I have a table where some of the fields are:

po_name
po_greetin

I want to do a sql select that pulls all of the records in the table but where po_greetin is empty, I want it to substitute the value in po_name. Is that possible? I don't recall every seeing anything like that here on the UT and I don't see anything in Help about it.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Next
Reply
Map
View

Click here to load this message in the networking platform