Skip to content

Commit 8e081b6

Browse files
committed
[SSMS] SSMS-Utility tool removed -P
1 parent a0dcd32 commit 8e081b6

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

docs/ssms/ssms-utility.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ms.date: 07/24/2020
2525

2626
The **SSMS** utility opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)]. If specified, **Ssms** also establishes a connection to a server, and opens queries, scripts, files, projects, and solutions.
2727

28-
You can specify files that contain queries, projects, or solutions. Files that contain queries are automatically connected to a server if connection information is provided and the file type is associated with that type of server. For instance, .sql files open a SQL Query Editor window in [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)], and .mdx files open an MDX Query Editor window in [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)]. **SQL Server Solutions and Projects** open in [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)].
28+
You can specify files that contain queries, projects, or solutions. Files that contain queries are automatically connected to a server if connection information is provided and the file type is associated with that type of server. For instance, .sql files open a SQL Query Editor window in [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)], and .mdx files open an MDX Query Editor window in [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)]. **SQL Server Solutions and Projects** open in [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)].
2929

3030
> [!NOTE]
3131
> The **Ssms** utility does not run queries. To run queries from the command line, use the **sqlcmd** utility.
@@ -34,7 +34,7 @@ You can specify files that contain queries, projects, or solutions. Files that c
3434

3535
```syntaxsql
3636
Ssms
37-
[scriptfile] [projectfile] [solutionfile]
37+
[scriptfile] [projectfile] [solutionfile]
3838
[-S servername] [-d databasename] [-G] [-U username] [-E] [-nosplash] [-log [filename]?] [-?]
3939
```
4040

@@ -64,9 +64,6 @@ Connect using Active Directory Authentication. The type of connection is determi
6464
[**-U** _username_]
6565
User name when connecting with 'SQL Authentication'
6666

67-
[**-P** _password_]
68-
Password when connecting with 'SQL Authentication'
69-
7067
[**-E**]
7168
Connect using Windows Authentication
7269

@@ -98,37 +95,37 @@ The following table maps server types to file extensions.
9895

9996
The following script opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt with the default settings:
10097

101-
```
98+
```console
10299
Ssms
103100
```
104101

105102
The following scripts opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt using *Active Directory - Integrated*:
106103

107-
```
104+
```console
108105
Ssms.exe -S servername.database.windows.net -G
109106
```
110107

111108
The following script opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt, with Windows Authentication, with the Code Editor set to the server `ACCTG and the database AdventureWorks2012,` without showing the splash screen:
112109

113-
```
110+
```console
114111
Ssms -E -S ACCTG -d AdventureWorks2012 -nosplash
115112
```
116113

117114
The following script opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt, and opens the MonthEndQuery script.
118115

119-
```
116+
```console
120117
Ssms "C:\Documents and Settings\username\My Documents\SQL Server Management Studio Projects\FinanceScripts\FinanceScripts\MonthEndQuery.sql"
121118
```
122119

123120
The following script opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt, and opens the NewReportsProject project on the computer named `developer`:
124121

125-
```
122+
```console
126123
Ssms "\\developer\fin\ReportProj\ReportProj\NewReportProj.ssmssqlproj"
127124
```
128125

129126
The following script opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt, and opens the MonthlyReports solution:
130127

131-
```
128+
```console
132129
Ssms "C:\solutionsfolder\ReportProj\MonthlyReports.ssmssln"
133130
```
134131

0 commit comments

Comments
 (0)