IF EXISTS (SELECT name FROM sysindexes
   WHERE name = 'DATAINDEXDOC')
   DROP INDEX Documenti.DATAINDEXDOC
GO
CREATE NONCLUSTERED INDEX [DATAINDEXDOC] ON [dbo].[Documenti]
(
	[DOC_DATA] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
GO