Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select records and fill in default value when empty?
Message
De
10/09/2004 09:47:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Select records and fill in default value when empty?
Divers
Thread ID:
00941026
Message ID:
00941026
Vues:
98
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"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform