Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with a query in ASP
Message
De
02/04/2003 23:44:44
 
 
À
02/04/2003 12:10:28
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00770467
Message ID:
00773415
Vues:
15
Seems something is wrong in the convert statement (line 9), hope i'm suggesting the correct data type as i dont have mySQL installed here, but anyways the apporach is correct.
u can give one more try as
sql="select convert(cod, INT), idusuario, password, nombre from administracion order by cod"
or
sql="select convert(cod, INT) as cod, idusuario, password, nombre from administracion order by cod"
have u tried the cast function ?
following url may help u further
http://www.mysql.com/doc/en/Numeric_types.html
http://www.mysql.com/doc/en/Cast_Functions.html
Best Luck..
Nilesh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform