Skip to content

Commit 914ec46

Browse files
committed
AUTO_DROP not supported prior to MSSql 2022
1 parent 224f360 commit 914ec46

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

SequenceAnalysis/resources/schemas/dbscripts/sqlserver/SequenceAnalysis-12.329-12.330.sql

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,17 @@ CREATE NONCLUSTERED INDEX IDX_alignment_summary_analysis_id_rowid_container_tota
1717
rowid ASC,
1818
container ASC
1919
)
20-
INCLUDE(total)
20+
INCLUDE(total);
2121

22-
CREATE STATISTICS STAT_ref_nt_sequence_rowid_locus_container ON sequenceanalysis.ref_nt_sequences (RowId, locus, container)
23-
WITH AUTO_DROP = OFF
22+
CREATE STATISTICS STAT_ref_nt_sequence_rowid_locus_container ON sequenceanalysis.ref_nt_sequences (RowId, locus, container);
2423

25-
CREATE STATISTICS STAT_ref_nt_sequence_locus_container ON sequenceanalysis.ref_nt_sequences (locus, container)
26-
WITH AUTO_DROP = OFF
24+
CREATE STATISTICS STAT_ref_nt_sequence_locus_container ON sequenceanalysis.ref_nt_sequences (locus, container);
2725

28-
CREATE STATISTICS STAT_sequence_analyses_container_readset ON sequenceanalysis.sequence_analyses (Container, readset)
29-
WITH AUTO_DROP = OFF
26+
CREATE STATISTICS STAT_sequence_analyses_container_readset ON sequenceanalysis.sequence_analyses (Container, readset);
3027

31-
CREATE STATISTICS STAT_sequence_readsets_rowid_container ON sequenceanalysis.sequence_readsets (RowId, Container)
32-
WITH AUTO_DROP = OFF
28+
CREATE STATISTICS STAT_sequence_readsets_rowid_container ON sequenceanalysis.sequence_readsets (RowId, Container);
3329

34-
CREATE STATISTICS STAT_asj_alignmentid_container_ref_nt_id ON sequenceanalysis.alignment_summary_junction (alignment_id, container, ref_nt_id)
35-
WITH AUTO_DROP = OFF
30+
CREATE STATISTICS STAT_asj_alignmentid_container_ref_nt_id ON sequenceanalysis.alignment_summary_junction (alignment_id, container, ref_nt_id);
3631

37-
CREATE STATISTICS STAT_asj_alignmentid_ref_nt_id_status_alignment_id ON sequenceanalysis.alignment_summary_junction (ref_nt_id, status, alignment_id)
38-
WITH AUTO_DROP = OFF
32+
CREATE STATISTICS STAT_asj_alignmentid_ref_nt_id_status_alignment_id ON sequenceanalysis.alignment_summary_junction (ref_nt_id, status, alignment_id);
3933

0 commit comments

Comments
 (0)