The problem with SQL is that eventually you will end up with thousands of SQL scripts. Have you ever tried to debug a 100k SQL? It’s a nightmare. Some of the scripts used to be simple, but got too complicated due to new requirements like this article doesn’t mention how he would deal with multiple time zones, currencies, different type of customers, multiple promotions for repeat customers and etc.