Scripts for demostration of CTEs vs transactions in application code