Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL query with proximity...
Message
De
01/08/2001 10:26:06
Simon La Rochelle
Consultant En E-Commerce
Granby, Québec, Canada
 
 
À
01/08/2001 09:06:53
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00538178
Message ID:
00538302
Vues:
11
Dim strCode 'as string

strCode = "J2G 9H8" 'can postal code

in my Firms table :

FirmID FirmName PostalCode
1 FirmA J4X 4Z2 (1 chr)
2 FirmB J2K 3R5 (2 chrs)
3 FirmC J2G 9B7 (4 chrs + space)
4 FirmD J2G 3T7 (3 chrs + space)


So I need a recordset order by number of left chrs like strCode : FirmC, FirmD, FirmB, FirmA


Is this clear ? Don't think so !


Simon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform