IF  NOT EXISTS (SELECT * FROM sys.objects 
					WHERE object_id = OBJECT_ID(N'[dbo].[CG_FND_VERBA_TIPO]') 
					AND type in (N'U')) 
begin
CREATE TABLE [dbo].[CG_FND_VERBA_TIPO](
	[CD_FND_VERBA_TIPO] [int] NOT NULL,
	[DS_FND_VERBA_TIPO] [varchar](150) NOT NULL,
	[CD_USU] [int] NOT NULL,
	[DT_CAD] [datetime] NOT NULL,
 CONSTRAINT [PK_CG_FND_VERBA_TIPO] PRIMARY KEY CLUSTERED 
(
	[CD_FND_VERBA_TIPO] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
 CONSTRAINT [IX_CG_FND_VERBA_TIPO] UNIQUE NONCLUSTERED 
(
	[DS_FND_VERBA_TIPO] DESC
)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].[CG_FND_VERBA_TIPO] ADD  CONSTRAINT [DF_CG_FND_VERBA_TIPO_CD_FND_VERBA_TIPO]  DEFAULT ((0)) FOR [CD_FND_VERBA_TIPO]

ALTER TABLE [dbo].[CG_FND_VERBA_TIPO] ADD  CONSTRAINT [DF_CG_FND_VERBA_TIPO_DS_FND_VERBA_TIPO]  DEFAULT ('') FOR [DS_FND_VERBA_TIPO]

ALTER TABLE [dbo].[CG_FND_VERBA_TIPO] ADD  CONSTRAINT [DF_CG_FND_VERBA_TIPO_CD_USU]  DEFAULT ((0)) FOR [CD_USU]
end

