SQL: report header, report protocol