USE [IHSecurity]
GO

/****** Object:  Index [UQ__Terminales__173876EA]    Script Date: 12/06/2016 11:29:17 ******/
IF  EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[Terminales]') AND name = N'UQ__Terminales__173876EA')
ALTER TABLE [dbo].[Terminales] DROP CONSTRAINT [UQ__Terminales__173876EA]
GO

ALTER TABLE Terminales
ALTER COLUMN Nombre VARCHAR(100)

USE [IHSecurity]
GO

/****** Object:  Index [UQ__Terminales__173876EA]    Script Date: 12/06/2016 11:29:17 ******/
ALTER TABLE [dbo].[Terminales] ADD  CONSTRAINT [UQ__Terminales__173876EA] UNIQUE NONCLUSTERED 
(
	[nombre] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
GO


