IF OBJECT_ID('GLB_EMAIL_ENV') IS NULL
	BEGIN
		CREATE TABLE [dbo].[GLB_EMAIL_ENV](
			[CD_CTR] [int] IDENTITY(1,1) NOT NULL,
			[DT_EMAIL] [datetime] NULL,
			[TIT_EMAIL] [nvarchar](100) NULL,
			[CORPO_EMAIL] [nvarchar](2500) NULL,
			[ST_ENV] [int] NULL,
			[CD_USU] [int] NULL,
			[DT_HR_CAD] [datetime] NULL,
			[DT_HR_ENV] [datetime] NULL,		
		 CONSTRAINT [PK_GLB_EMAIL_ENV] PRIMARY KEY CLUSTERED 
		(
			[CD_CTR] ASC
		)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
		) ON [PRIMARY]		

		ALTER TABLE [dbo].[GLB_EMAIL_ENV] ADD  CONSTRAINT [DF_GLB_EMAIL_ENV_ST_ENV]  DEFAULT ((0)) FOR [ST_ENV]	

	END