Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with a query in ASP
Message
From
26/03/2003 17:03:33
Fabian Belo
Independent Developer
Argentina
 
 
To
26/03/2003 16:39:14
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00770467
Message ID:
00770477
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform