Example: Let say this represent a price table in database. I declare the Price as Varchar So i want to convert all the data into double and also sum it all
The code does work, but i don't want to save as decimal but as double data type. I alter the code and put double. An error occur"Unable to parse query text."
So what i want do is calculate some amount of price ok. Since i cannot declare as float, double or money in sql. So i use varchar instead so the float no. can be save as float. To sum the number i have to convert it into decimal and sum. But i want it to be convert back again into float. Can it be done
ok thanks everyone some how i manage to doit. Since i building an application using vb.net and sql. When i sum it and retrieve back to vb.net then i convert i back to double.