Repository navigation
Expand file tree
/
Copy pathBulkInsertOptionKind.cs
More file actions
59 lines (56 loc) · 1.84 KB
/
Copy pathBulkInsertOptionKind.cs
File metadata and controls
59 lines (56 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//------------------------------------------------------------------------------
// <copyright file="BulkInsertOptionKind.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace Microsoft.SqlServer.TransactSql.ScriptDom
{
#pragma warning disable 1591
/// <summary>
/// If this enum grows beyond 63, Parser needs to be updated - it uses
/// Int64 to check for option duplication
/// </summary>
public enum BulkInsertOptionKind
{
None = 0,
BatchSize = 1,
CheckConstraints= 2,
CodePage = 3,
DataFileType = 4,
FieldTerminator = 5,
FirstRow = 6,
FireTriggers = 7,
FormatFile = 8,
KeepIdentity = 9,
KeepNulls = 10,
KilobytesPerBatch=11,
LastRow = 12,
MaxErrors = 13,
RowsPerBatch = 14,
RowTerminator = 15,
TabLock = 16,
ErrorFile = 17,
NoTriggers = 18,
// OpenRowset(BULK) - specific options
SingleBlob = 19,
SingleClob = 20,
SingleNClob = 21,
//
Order = 22,
IncludeHidden = 23,
// Support for external sources for data, format and error files, i.e. Azure Blob Storage
DataSource = 24,
FormatDataSource = 25,
ErrorDataSource = 26,
// CSV specific options
DataFileFormat = 27,
FieldQuote = 28,
EscapeChar = 29,
// Synapse SQL Serverless specific options
DataCompression = 30,
ParserVersion = 31,
HeaderRow = 32,
RowsetOptions = 33,
}
#pragma warning restore 1591
}