IF NOT EXISTS(SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME='GLB_MOTIVO_REJEICAO_SEFAZ') 
BEGIN
	CREATE TABLE [dbo].[GLB_MOTIVO_REJEICAO_SEFAZ](
	[CD_MOT_ERR] [int] NOT NULL,
	[DS_MOT_ERR] [varchar](200) NOT NULL,

	CONSTRAINT [PK_GLB_MOTIVO_REJEICAO_SEFAZ] PRIMARY KEY CLUSTERED 
	(
		[CD_MOT_ERR] ASC
	)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90) ON [PRIMARY]
	) ON [PRIMARY]
	
END
