Sql query insert statement fixes and data validating and cleansing.