Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL to select left character if a number but not a lette
Message
De
08/02/2002 14:44:47
 
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00617582
Message ID:
00617631
Vues:
24
This message has been marked as the solution to the initial question of the thread.
Try this:
SELECT '0' as F1 FROM Test where Left(F1,1)<'2' OR Left(F1,1)>'9'
UNION ALL
SELECT Left(F1,1) as F1 FROM Test where Left(F1,1)>='2' AND Left(F1,1)<='9'
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform