debugging output for SQL intergration

fix # 6