Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit bd370eb

Browse files
authored
Merge pull request #3861 from stevestein/SqlOps11061830
edits
2 parents 2176294 + aee1122 commit bd370eb

19 files changed

Lines changed: 99 additions & 143 deletions

docs/sql-operations-studio/enable-kerberos.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ sudo zypper install realmd krb5-client
5959
- Kerberos should be installed on your macOS. If your macOS does not have Kerberos installed, you can get it from the [download page](http://web.mit.edu/macdev/KfM/Common/Documentation/download.html).
6060

6161

62-
## Configuring KDC in krb5.conf
62+
## Configure KDC in krb5.conf
6363

6464
Edit the `/etc/krb5.conf` in an editor of your choice. Configure the following keys
6565

@@ -81,7 +81,7 @@ Then save the krb5.conf file and exit
8181
> Domain must be in ALL CAPS
8282
8383

84-
## Testing the Ticket Granting Ticket retrieval
84+
## Test the Ticket Granting Ticket retrieval
8585

8686
Get a Ticket Granting Ticket (TGT) from KDC.
8787

@@ -105,4 +105,4 @@ krbtgt/DOMAIN.COMPANY.COM@ DOMAIN.COMPANY.COM.
105105

106106
* Complete the connection profile, click **Connect**
107107

108-
After succssfully connecting, your server appears in the Servers sidebar.
108+
After successfully connecting, your server appears in the *Servers* sidebar.

docs/sql-operations-studio/insight-widgets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Insight widgets take the SQL queries you use to monitor servers & databases and
2020

2121
Insights are customizable charts and graphs that you add to server and database monitoring dashboards. View at-a-glance insights of your servers and databases, then drill into more details, and launch management actions that you define.
2222

23-
You can build awesome server and database management dashboards that are even better than the following example!
23+
You can build awesome server and database management dashboards similar to the following example:
2424

2525
![database dashboard](media/insight-widgets/database-dashboard.png)
2626

2727

2828
To jump in and start creating different types of insight widgets, check out the following tutorials:
2929

3030
- [Build a custom insight widget](tutorial-build-custom-insight-sql-server.md)
31-
- Enable built-in insight widgets
31+
- *Enable built-in insight widgets*
3232
- [Enable the performance monitoring insight](tutorial-qds-sql-server.md)
3333
- [Enable the table space usage insight](tutorial-table-space-sql-server.md)
3434

docs/sql-operations-studio/keyboard-shortcuts.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ In addition to displaying current keybindings, the **Keyboard Shortcuts** editor
3535

3636
To change the keybinding for an existing keyboard shortcut:
3737

38-
1. [Open the **Keyboard Shortcuts** editor](#open-the-keyboard-shortcuts-editor.md).
3938
1. Locate the keyboard shortcut you want to change by using the search box or scrolling through the list.
4039
> [!TIP]
4140
> Search by key, by command, by source, etc. to return all relevant keyboard shortcuts.
@@ -52,14 +51,10 @@ To change the keybinding for an existing keyboard shortcut:
5251

5352
To create new keyboard shortcuts:
5453

55-
1. [Open the **Keyboard Shortcuts** editor](#open-the-keyboard-shortcuts-editor.md).
5654
1. Right-click a command that doesn't have any keybinding and select **Add Keybinding**.
5755

5856
![create keyboard shortcut](media/keyboard-shortcuts/add-keybinding.png)
5957

6058
1. Press the desired combination of keys, then press **Enter** to save it.
6159

6260

63-
64-
## Additional Resources
65-
For information about [!INCLUDE[name-sos](../includes/name-sos-short.md)], see [What is [!INCLUDE[name-sos](../includes/name-sos-short.md)]](what-is.md)
703 KB
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
101 Bytes
Loading

docs/sql-operations-studio/quickstart-sql-database.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.workload: "Inactive"
1616
---
1717
# Quickstart: Use [!INCLUDE[name-sos](../includes/name-sos-short.md)] to connect and query Azure SQL database
1818

19-
This quickstart demonstrates how to use *[!INCLUDE[name-sos](../includes/name-sos-short.md)]* to connect to an Azure SQL database, and then use Transact-SQL (T-SQL)statements to create, insert, and select data.
19+
This quickstart demonstrates how to use *[!INCLUDE[name-sos](../includes/name-sos-short.md)]* to connect to an Azure SQL database, and then use Transact-SQL (T-SQL) statements to create, insert, and select data.
2020

2121
## Prerequisites
2222

@@ -55,15 +55,15 @@ Use [!INCLUDE[name-sos](../includes/name-sos-short.md)] to establish a connectio
5555

5656
3. If you get an error about the firewall, you need to create a firewall rule. To create a firewall rule, see [Firewall rules](https://docs.microsoft.com/azure/sql-database/sql-database-firewall-configure).
5757

58-
4. After successfully connecting your server will appear in the object explorer.
58+
4. After successfully connecting your server will appear in the *Servers* sidebar.
5959

6060
## Create the tutorial database
6161

6262
The *TutorialDB* database is used in several [!INCLUDE[name-sos](../includes/name-sos-short.md)] tutorials.
6363

6464
1. Right click on your Azure SQL server in the SERVERS sidebar and select **New Query.**
6565

66-
1. Paste the following snippet into the query window.
66+
1. Paste the following snippet into the query editor.
6767

6868
```sql
6969
IF NOT EXISTS (
@@ -91,7 +91,7 @@ The query editor is still connected to the *master* database, but we want to cre
9191

9292

9393

94-
1. Paste the following snippet into the query window.
94+
1. Paste the following snippet into the query editor.
9595

9696
```sql
9797
-- Create a new table called 'Customers' in schema 'dbo'
@@ -113,7 +113,7 @@ The query editor is still connected to the *master* database, but we want to cre
113113

114114
## Insert rows
115115

116-
1. Paste the following snippet into the query window:
116+
1. Paste the following snippet into the query editor:
117117
```sql
118118
-- Insert rows into table 'Customers'
119119
INSERT INTO dbo.Customers
@@ -129,7 +129,7 @@ The query editor is still connected to the *master* database, but we want to cre
129129
1. To execute the query, click **Run**.
130130

131131
## View the result
132-
1. Paste the following snippet into the query window.
132+
1. Paste the following snippet into the query editor.
133133

134134
```sql
135135
-- Select rows from table 'Customers'
@@ -140,15 +140,6 @@ The query editor is still connected to the *master* database, but we want to cre
140140

141141
![Select results](media/quickstart-sql-database/select-results.png)
142142

143-
## Save result as Excel
144-
1. Right click on the results table and save as an Excel** file.
145-
146-
![Save as Excel](media/quickstart-sql-database/save-as-excel.png)
147-
148-
2. Save as **Results.xls**.
149-
150-
## View chart
151-
View an existing, built-in widget through the dashboard.
152143

153144
## Clean up resources
154145

@@ -157,4 +148,4 @@ Clean up resources by deleting the resource groups you no longer need. For detai
157148

158149
## Next steps
159150

160-
To create and run queries, see [Code editor tutorial](tutorial-sql-editor.md).
151+
Now that you've successfully connected to an Azure SQL database and ran a query, try out the [Code editor tutorial](tutorial-sql-editor.md).

docs/sql-operations-studio/quickstart-sql-dw.md

Lines changed: 23 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,24 @@ Use [!INCLUDE[name-sos](../includes/name-sos-short.md)] to establish a connectio
5454

5555
4. After successfully connecting your server will appear in the object explorer.
5656

57-
## Create the tutorial database
57+
## Create the tutorial data warehouse
5858
1. Right click on your server, in the object explorer and select **New Query.**
5959

60-
![NewQuery](media/quickstart-sql-dw/new-query.png)
61-
62-
1. Paste the following snippet into the query window:
60+
1. Paste the following snippet into the query editor:
6361

6462
```sql
65-
IF NOT EXISTS (
66-
SELECT name
67-
FROM sys.databases
68-
WHERE name = N'TutorialDB'
69-
)
70-
CREATE DATABASE [TutorialDB]
71-
GO
72-
73-
ALTER DATABASE [TutorialDB] SET QUERY_STORE=ON
74-
GO
63+
IF NOT EXISTS (
64+
SELECT name
65+
FROM sys.databases
66+
WHERE name = N'TutorialDB'
67+
)
68+
CREATE DATABASE [TutorialDB] (EDITION = 'datawarehouse', SERVICE_OBJECTIVE='DW100');
69+
GO
70+
71+
ALTER DATABASE [TutorialDB] SET QUERY_STORE=ON
72+
GO
7573
```
74+
7675
1. To execute the query, click **Run**.
7776

7877
## Create a table
@@ -84,7 +83,7 @@ The query editor is still connected to the *master* database, but we want to cre
8483
![Change context](media/quickstart-sql-database/change-context.png)
8584

8685

87-
1. Paste the following snippet into the query window:
86+
1. Paste the following snippet into the query editor:
8887

8988
```sql
9089
-- Create a new table called 'Customers' in schema 'dbo'
@@ -95,7 +94,7 @@ The query editor is still connected to the *master* database, but we want to cre
9594
-- Create the table in the specified schema
9695
CREATE TABLE dbo.Customers
9796
(
98-
CustomerId INT NOT NULL PRIMARY KEY, -- primary key column
97+
CustomerId INT NOT NULL,
9998
Name [NVARCHAR](50) NOT NULL,
10099
Location [NVARCHAR](50) NOT NULL,
101100
Email [NVARCHAR](50) NOT NULL
@@ -107,24 +106,22 @@ The query editor is still connected to the *master* database, but we want to cre
107106

108107
## Insert rows
109108

110-
1. Paste the following snippet into the query window:
109+
1. Paste the following snippet into the query editor:
111110

112111
```sql
113112
-- Insert rows into table 'Customers'
114113
INSERT INTO dbo.Customers
115114
([CustomerId],[Name],[Location],[Email])
116-
VALUES
117-
( 1, N'Orlando', N'Australia', N''),
118-
( 2, N'Keith', N'India', N'keith0@adventure-works.com'),
119-
( 3, N'Donna', N'Germany', N'donna0@adventure-works.com'),
120-
( 4, N'Janet', N'United States', N'janet1@adventure-works.com')
121-
GO
115+
SELECT 1, N'Orlando',N'Australia', N'' UNION ALL
116+
SELECT 2, N'Keith', N'India', N'keith0@adventure-works.com' UNION ALL
117+
SELECT 3, N'Donna', N'Germany', N'donna0@adventure-works.com' UNION ALL
118+
SELECT 4, N'Janet', N'United States', N'janet1@adventure-works.com'
122119
```
123120

124121
1. To execute the query, click **Run**.
125122

126123
## View the result
127-
1. Paste the following snippet into the query window:
124+
1. Paste the following snippet into the query editor:
128125

129126
```sql
130127
-- Select rows from table 'Customers'
@@ -135,21 +132,13 @@ The query editor is still connected to the *master* database, but we want to cre
135132

136133
![Select results](media/quickstart-sql-dw/select-results.png)
137134

138-
## Save result as Excel
139-
140-
Right-click the results table and select **Save As Excel**.
141-
142-
![Save as Excel](media/quickstart-sql-dw/save-as-excel.png)
143-
144-
145-
## View chart
146-
View an existing, built-in widget through the dashboard.
147135

148136
## Clean up resources
149137

150138
Other articles in this collection build upon this quickstart. If you plan to continue on to work with subsequent quickstarts, do not clean up the resources created in this quickstart. If you do not plan to continue, use the following steps to delete resources created by this quickstart in the Azure portal.
151139
Clean up resources by deleting the resource groups you no longer need. For details, see [Clean up resources](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-get-started-portal#clean-up-resources).
152140

141+
153142
## Next steps
154143

155-
To create and run queries, see [Code editor tutorial](tutorial-sql-editor.md).
144+
Now that you've successfully connected to an Azure SQL data warehouse and ran a query, try out the [Code editor tutorial](tutorial-sql-editor.md).

0 commit comments

Comments
 (0)