Some sql & bash script for HANA