I have a senario i have no idea of how i can solve.
Well
I have database like this example myTable
ID(int) | Category (varchar(20)) 1 | 1029 2 | 2020 3 | 2030 All records in Category are numbers but the format is varchar. I can't change the type from varchar to int.
What i need is in my SQL query convert varchar to int of possible. Because, i need to do something likes tis
SELECT * FROM myTable HERE Category => 1000 AND Category =< 2000 How is that possible?
Sorry my written english, but i hope you understand anyway :)