IF NOT EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME = 'EST_PERC_TP_DESC' )
BEGIN
	CREATE TABLE [dbo].[EST_PERC_TP_DESC](
		[CD_EMP] [int] NOT NULL,
		[CD_PERC_DESC] [int] NOT NULL,
		[DS_PERC_DESC] [varchar](50) NULL,
	 CONSTRAINT [PK_EST_PERC_TP_DESC] PRIMARY KEY CLUSTERED 
	(
		[CD_EMP] ASC,
		[CD_PERC_DESC] ASC
	)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
	) ON [PRIMARY]

	SET ANSI_PADDING OFF

	ALTER TABLE [dbo].[EST_PERC_TP_DESC] ADD  CONSTRAINT [DF_EST_PERC_TP_DESC_DS_PERC_DESC]  DEFAULT ('') FOR [DS_PERC_DESC]

END