debugging output for SQL integration

fix # 8