Welcome Guest, Not a member yet? Register   Sign In
Insert computed value into SQL database
#3

(01-02-2017, 07:41 AM)neuron Wrote: it seems like your problem is in type of percentage column, in mysql you should define it as decimal(5,2)

Dear Neuron,

Thanks for the quick reply.

The problem is actually that the script code is computing the percentage correctly. My problem is inserting the computed value for score_percentage into the percentage column in the database table user_quiz_results.
Reply


Messages In This Thread
RE: Insert computed value into SQL database - by cndunga - 01-02-2017, 12:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB