
/*------ ATD 380940 ------*/
-- Criar indice na tabela CONTROLELIBERACAO
IF NOT EXISTS(SELECT id FROM sys.sysindexes where name = 'IDX_CONTROLELIBERACAO1')
CREATE NONCLUSTERED INDEX [IDX_CONTROLELIBERACAO1] ON [dbo].[CONTROLELIBERACAO] ([RNUMPED],[RTIPOLIBERACAO])
