Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with a query in ASP
Message
De
26/03/2003 17:03:33
Fabian Belo
Independent Developer
Argentine
 
 
À
26/03/2003 16:39:14
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00770467
Message ID:
00770477
Vues:
12
>Hello i have a database in Mysql and i have the next elements of a recordset (4,6,10,7) and i use the next query to use it:
>
>select codmodulo from modasg where cod=123 order by codmodulo desc
>

>the result for this recordset is: 7,6,4,10
>
>if i use the order by codmodulo asc the result is 10,4,6,7
>but the real result i need is 4,6,7,10. How can i sove this out?
>
>Thanks for the

Looks like codmodulo is alphanumeric.
If so, transform to numeric before querying (CInt)
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform