Hi all.

Anybody knows a function or some way to convert a string to a integer? I've
looked in the manual and I haven't seen anything.

I need it to order a query by a column which contains numbers but the type
of the column is varchar. I want to convert the values to integer before
ordering the query.

Iago.

 
______________________________________________________________________________
mensaje enviado desde http://www.iespana.es
emails (pop)-paginas web (espacio illimitado)-agenda-favoris (bookmarks)-foros



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to