I have been programming in SQL Server, MySQL and SQLite for a year at Siscard, the company has a very complex system based on storing all possible logic within the databases