mysql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • J MJ
    New Member
    • Dec 2011
    • 1

    mysql

    how to convert a string say 'k30' into an integer. I just need 30 as an integer. I've done substr('k30',2, 3) but that returns a string and I want it in number format. Please help.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Use the convert function to change data types.

    Comment

    Working...