Microsoft SQL Server Syntax to create the table for Host Header Logging
To create the table for Packet Logging with a minimal set of fields:
CREATE TABLE [dbo].[hosts] ( rtime datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, filterid smallint NOT NULL, rtype smallint, method smallint, reason smallint, clt_ip char(16), clt_port int, srv_ip char(16), srv_port int, clt_bytes bigint, srv_bytes bigint, host char(100)) |
Note