I am using MySQL and I want to convert a string to a number because I have to select the max no between them.
- In my database I have two columns
item codeanditem name, both are of varchar type - so the
item codeI want it to convert inintordouble
here I am writing query as SELECT MAX(itemcode) FROM ITEMMASTER it is giving me result as 603 I want it to give me 2402 as this one is the maximum
Any help or guidance will be appreciated
