debugging output for SQL intergration

fix # 5