/****** Object:  Table [dbo].[CHQ_LANC_CUSTODIA_RET_REJ]    Script Date: 02/06/2014 15:06:19 ******/
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[CHQ_LANC_CUSTODIA_RET_REJ]') AND type in (N'U'))

CREATE TABLE [dbo].[CHQ_LANC_CUSTODIA_RET_REJ](
	[CD_EMP] [int] NOT NULL,
	[CD_CTR_REM] [int] NOT NULL,
	[ANO_CUSTODIA] [int] NOT NULL,
	[CD_CUSTODIA] [int] NOT NULL,
	[CD_CHQ] [int] NOT NULL,
	[CD_CHQ_FILIAL] [int] NOT NULL,
	[CD_MOT_REJ] [int] NULL,
	[DS_MOT_REJ] [varchar](300) NULL,
	[CD_USU] [int] NULL,
	[DT_CAD] [datetime] NULL,
 CONSTRAINT [PK_CHQ_LANC_CUSTODIA_REM_RET] PRIMARY KEY CLUSTERED 
(
	[CD_EMP] ASC,
	[CD_CTR_REM] ASC,
	[ANO_CUSTODIA] ASC,
	[CD_CUSTODIA] ASC,
	[CD_CHQ] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


