Ticket #3072: Trac_3072_Index_Creation.sql

File Trac_3072_Index_Creation.sql, 697 bytes (added by Benjamin Haag, 21 months ago)

SQL used to drop and recreate index

Line 
1USE [gringlobal]
2GO
3
4/****** Object: Index [ndx_uniq_ts] Script Date: 3/4/2025 11:14:53 AM ******/
5DROP INDEX [ndx_uniq_ts] ON [dbo].[taxonomy_species]
6GO
7
8SET ANSI_PADDING ON
9GO
10
11/****** Object: Index [ndx_uniq_ts] Script Date: 3/4/2025 11:14:53 AM ******/
12CREATE UNIQUE NONCLUSTERED INDEX [ndx_uniq_ts] ON [dbo].[taxonomy_species]
13(
14 [taxonomy_genus_id] ASC,
15 [name] ASC,
16 [name_authority] ASC,
17 [protologue] ASC,
18 [synonym_code] ASC
19)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
20GO
21
22