Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with a query in ASP
Message
From
02/04/2003 23:44:44
 
 
To
02/04/2003 12:10:28
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00770467
Message ID:
00773415
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform