We want to write some business logic rules that work on top of certain data to build reports. Not sure which is the best to store them in the database MySQL.

It can have a chain of the rules and then a statement for the result as shown above.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For building reports you can convert business logic in any programming language. And use database data for generating reports.
Against of business logic stored in database
Source: Arguments for/against Business Logic in stored procedures
See also: