debugging output for SQL integration

fix # 7