Skip to content

Commit b79df05

Browse files
authored
Update sqlcmd-utility.md
1 parent 1ddf48f commit b79df05

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎docs/tools/sqlcmd-utility.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +146,15 @@ sqlcmd
146146
**Login-Related Options**
147147

148148
**-A**
149-
150149
Signs in to SQL Server with a Dedicated Administrator Connection (DAC). This kind of connection is used to troubleshoot a server. This connection works only with server computers that support DAC. If DAC is not available, **sqlcmd** generates an error message, and then exits. For more information about DAC, see [Diagnostic Connection for Database Administrators](../database-engine/configure-windows/diagnostic-connection-for-database-administrators.md). The -A option isn't supported with the -G option. When connecting to SQL Database using -A, you must be a SQL server administrator. DAC isn't available for an Azure Active Directory administrator.
151150

152-
**-C**
151+
**-C**
153152
This switch is used by the client to configure it to implicitly trust the server certificate without validation. This option is equivalent to the ADO.NET option `TRUSTSERVERCERTIFICATE = true`.
154153

155154
**-d** _db_name_
156155
Issues a `USE` *db_name* statement when you start **sqlcmd**. This option sets the **sqlcmd** scripting variable SQLCMDDBNAME. This parameter specifies the initial database. The default is your login's default-database property. If the database does not exist, an error message is generated and **sqlcmd** exits.
157156

158-
**-D**
157+
**-D**
159158
Interprets the server name provided to -S as a DSN instead of a hostname. For more information, see _DSN Support in sqlcmd and bcp_ in [Connecting with sqlcmd](../connect/odbc/linux-mac/connecting-with-sqlcmd.md).
160159

161160
> [!NOTE]

0 commit comments

Comments
 (0)