I'm writing on a little c# tool that will change columns of databases. It should also multiply a column by a certain factor according to user input. Of course it works with
UPDATE table SET column = column * factor
however this doesn't consider the data type of the column, so in case of a wrong user input a column with data type "TEXT" will also be multiplied without any error message resulting in zeros.
I'm aware I could get the type of the column into my c# program and test for it before updating, however in my case this would be slow and impractical since I'm working only with the information from the sql's I get from
SELECT * FROM sqlite_master
Is there a way to the needed feedback directly within sqlite?