Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little SQL puzzle
Message
De
17/01/2010 15:33:53
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01444375
Message ID:
01444444
Vues:
71
Yes, that produces the correct result, thanks.

I like Greg's (and the link that Eric posted) because it solves it in one SELECT statement. I realize that sometimes an "if one condition, run this select....otherwise, run this select" is necessary, but in this case I think one SELECT is preferable.

Thanks for playing, everyone! OK, that was too easy, have to come up with a tougher one :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform