Update Calc Script for data export into RDBMS