Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Findout max character
Message
 
 
À
09/04/2008 07:47:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01309251
Message ID:
01309255
Vues:
7
SELECT INT(MAX(VAL(LEFT(code,2)))) AS MaxCode FROM mytable
>
>Table1 has only one field as
>
>code c(7)
>
>data in table is as follows
>
>1
>11
>1101
>1102
>1103
>12
>1201
>13
>1301
>1304
>
>How to findout max code in 2 digits starting with 1
>
>The answer is 13
>
>Please help
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform