
IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[event_rosetta]') AND type in (N'U')) 
CREATE TABLE [dbo].[event_rosetta](
	[event_id] [uniqueidentifier] NOT NULL,
	[agent_name] [varchar](64) NULL,
	[agent_type] [varchar](100) NULL,
 CONSTRAINT [PK_event_rosetta] PRIMARY KEY CLUSTERED 
(
	[event_id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [NEXTGEN_INDEX_1]
) ON [NEXTGEN_INDEX_1]
