debugging output for SQL integration

fix # 11