Monthly Archives: July 2014

MYSQL conditional statement example (case when then)

MYSQL has very powerful set of control flow/conditional features, and case/when/then is one of these. Assume that you need a table to store a generic value, with different value types, and for the sake of demo, let’s keep it simple.

Tagged with: , , , , ,
Posted in database, MyBatis