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/ssms/ssms-utility.md
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ ms.date: 07/24/2020
25
25
26
26
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.
27
27
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)].
29
29
30
30
> [!NOTE]
31
31
> 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
@@ -64,9 +64,6 @@ Connect using Active Directory Authentication. The type of connection is determi
64
64
[**-U**_username_]
65
65
User name when connecting with 'SQL Authentication'
66
66
67
-
[**-P**_password_]
68
-
Password when connecting with 'SQL Authentication'
69
-
70
67
[**-E**]
71
68
Connect using Windows Authentication
72
69
@@ -98,37 +95,37 @@ The following table maps server types to file extensions.
98
95
99
96
The following script opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt with the default settings:
100
97
101
-
```
98
+
```console
102
99
Ssms
103
100
```
104
101
105
102
The following scripts opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt using *Active Directory - Integrated*:
106
103
107
-
```
104
+
```console
108
105
Ssms.exe -S servername.database.windows.net -G
109
106
```
110
107
111
108
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:
112
109
113
-
```
110
+
```console
114
111
Ssms -E -S ACCTG -d AdventureWorks2012 -nosplash
115
112
```
116
113
117
114
The following script opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt, and opens the MonthEndQuery script.
118
115
119
-
```
116
+
```console
120
117
Ssms "C:\Documents and Settings\username\My Documents\SQL Server Management Studio Projects\FinanceScripts\FinanceScripts\MonthEndQuery.sql"
121
118
```
122
119
123
120
The following script opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt, and opens the NewReportsProject project on the computer named `developer`:
The following script opens [!INCLUDE[ssManStudioFull](../includes/ssmanstudiofull-md.md)] from a command prompt, and opens the MonthlyReports solution:
0 commit comments