You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/relational-databases/import-export/create-a-format-file-sql-server.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Generally, XML and non-XML format files are interchangeable. However, we recomme
31
31
32
32
## Create a Non-XML format file
33
33
34
-
To use a **bcp** command to create a format file, specify the **format** argument and use `nul` instead of a data-file path. The **format** option also requires the **-f** option, such as: `bcp _table_or_view_ format nul -f_format_file_name_`.
34
+
To use a **bcp** command to create a format file, specify the **format** argument and use `nul` instead of a data-file path. The **format** option also requires the **-f** option, such as: `bcp _table_or_view_ format nul -f _format_file_name_`.
35
35
36
36
> [!NOTE]
37
37
> To distinguish a non-XML format file, we recommend that you use .fmt as the file name extension, for example, `MyTable.fmt`.
@@ -50,7 +50,7 @@ The **bcp** command contains the following qualifiers.
50
50
51
51
|Qualifiers|Description|
52
52
|----------------|-----------------|
53
-
|**formatnul-f**_format_file_|Specifies the non-XML format file.|
53
+
|**format nul -f**_format_file_|Specifies the non-XML format file.|
54
54
|**-n**|Specifies native data types.|
55
55
|**-T**|Specifies that the **bcp** utility connects to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] with a trusted connection using integrated security. If **-T** is not specified, you must specify **-U** and **-P** to successfully log in.|
56
56
@@ -81,7 +81,7 @@ The **bcp** command contains the following qualifiers.
81
81
82
82
|Qualifiers|Description|
83
83
|----------------|-----------------|
84
-
|**formatnul-f**_format_file_|Specifies a non-XML format file.|
84
+
|**format nul -f**_format_file_|Specifies a non-XML format file.|
85
85
|**-c**|Specifies character data.|
86
86
|**-T**|Specifies that the **bcp** utility connects to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] with a trusted connection using integrated security. If **-T** is not specified, you must specify **-U** and **-P** to successfully log in.|
87
87
@@ -181,7 +181,7 @@ The **bcp** command contains the following qualifiers.
181
181
182
182
|Qualifiers|Description|
183
183
|----------------|-----------------|
184
-
|**formatnul-f**_format_file_**-x**|Specifies the XML format file.|
184
+
|**format nul -x -f**_format_file_|Specifies the XML format file.|
185
185
|**-c**|Specifies character data.|
186
186
|**-t**`,`|Specifies a comma (**,**) as the field terminator.<br /><br /> Note: If the data file uses the default field terminator (`\t`), the **-t** switch is unnecessary.|
187
187
|**-T**|Specifies that the **bcp** utility connects to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] with a trusted connection using integrated security. If **-T** is not specified, you must specify **-U** and **-P** to successfully log in.|
@@ -222,7 +222,7 @@ The **bcp** command contains the following qualifiers.
222
222
223
223
|Qualifiers|Description|
224
224
|----------------|-----------------|
225
-
|**formatnul-f**_format_file_**-x**|Specifies the XML format file.|
225
+
|**format nul -x -f**_format_file_|Specifies the XML format file.|
226
226
|**-n**|Specifies native data types.|
227
227
|**-T**|Specifies that the **bcp** utility connects to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] with a trusted connection using integrated security. If **-T** is not specified, you must specify **-U** and **-P** to successfully log in.|
0 commit comments