debugging output for SQL integration

fix # 9