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

Commit f39b7c8

Browse files
committed
1750982, fixed column header issues.
1 parent fd8bdd3 commit f39b7c8

28 files changed

Lines changed: 595 additions & 254 deletions

docs/includes/sql-linux-quickstart-connect-query.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ After installing SQL Server on Linux, review the best practices for configuring
106106

107107
In addition to **sqlcmd**, you can use the following cross-platform tools to manage SQL Server:
108108

109-
|||
110-
|---|---|
109+
| Tool | Description |
110+
| ---- | ----------- |
111111
| [Azure Data Studio](../azure-data-studio/index.yml) | A cross-platform GUI database management utility. |
112112
| [Visual Studio Code](../linux/sql-server-linux-develop-use-vscode.md) | A cross-platform GUI code editor that run Transact-SQL statements with the mssql extension. |
113113
| [PowerShell Core](../linux/sql-server-linux-manage-powershell-core.md) | A cross-platform automation and configuration tool based on cmdlets. |
@@ -129,12 +129,10 @@ For other tools that run on Windows but connect to SQL Server on Linux, see:
129129

130130
For other installation scenarios, see the following resources:
131131

132-
|||
133-
|---|---|
134-
| [Upgrade](../linux/sql-server-linux-setup.md#upgrade) | Learn how to upgrade an existing installation of SQL Server on Linux |
135-
| [Uninstall](../linux/sql-server-linux-setup.md#uninstall) | Uninstall SQL Server on Linux |
136-
| [Unattended install](../linux/sql-server-linux-setup.md#unattended) | Learn how to script the installation without prompts |
137-
| [Offline install](../linux/sql-server-linux-setup.md#offline) | Learn how to manually download the packages for offline installation |
132+
* [Upgrade](../linux/sql-server-linux-setup.md#upgrade): Learn how to upgrade an existing installation of SQL Server on Linux
133+
* [Uninstall](../linux/sql-server-linux-setup.md#uninstall): Uninstall SQL Server on Linux
134+
* [Unattended install](../linux/sql-server-linux-setup.md#unattended): Learn how to script the installation without prompts
135+
* [Offline install](../linux/sql-server-linux-setup.md#offline): Learn how to manually download the packages for offline installation
138136

139137
> [!TIP]
140138
> For answers to frequently asked questions, see the [SQL Server on Linux FAQ](../linux/sql-server-linux-faq.md).

docs/relational-databases/synonyms/synonyms-database-engine.md

Lines changed: 102 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.author: carlrab
1717
monikerRange: "=azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current"
1818
---
1919
# Synonyms (Database Engine)
20-
[!INCLUDE [SQL Server Azure SQL Database](../../includes/applies-to-version/sql-asdb.md)]
20+
[!INCLUDE[appliesto-ss-asdb-xxxx-xxx-md](../../includes/appliesto-ss-asdb-xxxx-xxx-md.md)]
2121
A synonym is a database object that serves the following purposes:
2222

2323
- Provides an alternative name for another database object, referred to as the base object, that can exist on a local or remote server.
@@ -29,17 +29,37 @@ For example, consider the **Employee** table of [!INCLUDE[ssSampleDBCoShort](../
2929
To address both these issues, you can create a synonym, **EmpTable**, on **Server2** for the **Employee** table on **Server1**. Now, the client application only has to use the single-part name, **EmpTable**, to reference the **Employee** table. Also, if the location of the **Employee** table changes, you will have to modify the synonym, **EmpTable**, to point to the new location of the **Employee** table. Because there is no ALTER SYNONYM statement, you first have to drop the synonym, **EmpTable**, and then re-create the synonym with the same name, but point the synonym to the new location of **Employee**.
3030

3131
A synonym belongs to a schema, and like other objects in a schema, the name of a synonym must be unique. You can create synonyms for the following database objects:
32-
33-
|||
34-
|-|-|
35-
|Assembly (CLR) stored procedure|Assembly (CLR) table-valued function|
36-
|Assembly (CLR) scalar function|Assembly (CLR) aggregate functions|
37-
|Replication-filter-procedure|Extended stored procedure|
38-
|SQL scalar function|SQL table-valued function|
39-
|SQL inline-tabled-valued function|SQL stored procedure|
40-
|View|Table* (User-defined)|
41-
42-
*Includes local and global temporary tables
32+
33+
:::row:::
34+
:::column:::
35+
Assembly (CLR) stored procedure
36+
37+
Assembly (CLR) scalar function
38+
39+
Replication-filter-procedure
40+
41+
SQL scalar function
42+
43+
SQL inline-tabled-valued function
44+
45+
View
46+
:::column-end:::
47+
:::column:::
48+
Assembly (CLR) table-valued function
49+
50+
Assembly (CLR) aggregate functions
51+
52+
Assembly (CLR) aggregate functions
53+
54+
SQL table-valued function
55+
56+
SQL stored procedure
57+
58+
Table* (User-defined)
59+
:::column-end:::
60+
:::row-end:::
61+
62+
*Includes local and global temporary tables
4363

4464
> [!NOTE]
4565
> Four-part names for function base objects are not supported.
@@ -57,23 +77,48 @@ If you have a default schema that you do not own and want to create a synonym, y
5777
Only synonym owners, members of **db_owner**, or members of **db_ddladmin** can grant permission on a synonym.
5878

5979
You can `GRANT`, `DENY`, and `REVOKE` all or any of the following permissions on a synonym:
60-
61-
|||
62-
|-|-|
63-
|CONTROL|DELETE|
64-
|EXECUTE|INSERT|
65-
|SELECT|TAKE OWNERSHIP|
66-
|UPDATE|VIEW DEFINITION|
67-
80+
81+
:::row:::
82+
:::column:::
83+
CONTROL
84+
85+
EXECUTE
86+
87+
SELECT
88+
89+
UPDATE
90+
:::column-end:::
91+
:::column:::
92+
DELETE
93+
94+
INSERT
95+
96+
TAKE OWNERSHIP
97+
98+
VIEW DEFINITION
99+
:::column-end:::
100+
:::row-end:::
101+
68102
## Using Synonyms
69-
You can use synonyms in place of their referenced base object in several SQL statements and expression contexts. The following table contains a list of these statements and expression contexts:
70-
71-
|||
72-
|-|-|
73-
|SELECT|INSERT|
74-
|UPDATE|DELETE|
75-
|EXECUTE|Sub-selects|
76-
103+
You can use synonyms in place of their referenced base object in several SQL statements and expression contexts. The following columns contain a list of these statements and expression contexts:
104+
105+
:::row:::
106+
:::column:::
107+
SELECT
108+
109+
UPDATE
110+
111+
EXECUTE
112+
:::column-end:::
113+
:::column:::
114+
INSERT
115+
116+
DELETE
117+
118+
Sub-selects
119+
:::column-end:::
120+
:::row-end:::
121+
77122
When you are working with synonyms in the contexts previously stated, the base object is affected. For example, if a synonym references a base object that is a table and you insert a row into the synonym, you are actually inserting a row into the referenced table.
78123

79124
> [!NOTE]
@@ -91,19 +136,36 @@ EXEC ('ALTER TABLE dbo.MyProduct
91136
```
92137

93138
The following permission statements are associated only with the synonym and not the base object:
94-
95-
|||
96-
|-|-|
97-
|GRANT|DENY|
98-
|REVOKE||
99-
139+
140+
:::row:::
141+
:::column:::
142+
GRANT
143+
144+
REVOKE
145+
:::column-end:::
146+
:::column:::
147+
DENY
148+
:::column-end:::
149+
:::row-end:::
150+
100151
Synonyms are not schema-bound and, therefore, cannot be referenced by the following schema-bound expression contexts:
101-
102-
|||
103-
|-|-|
104-
|CHECK constraints|Computed columns|
105-
|Default expressions|Rule expressions|
106-
|Schema-bound views|Schema-bound functions|
152+
153+
:::row:::
154+
:::column:::
155+
CHECK constraints
156+
157+
Default expressions
158+
159+
Schema-bound views
160+
:::column-end:::
161+
:::column:::
162+
Computed columns
163+
164+
Rule expressions
165+
166+
Schema-bound functions
167+
:::column-end:::
168+
:::row-end:::
107169

108170
For more information about schema-bound functions, see [Create User-defined Functions (Database Engine)](../../relational-databases/user-defined-functions/create-user-defined-functions-database-engine.md).
109171

docs/relational-databases/system-catalog-views/always-on-availability-groups-catalog-views-transact-sql.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,33 @@ author: CarlRabeler
1717
ms.author: carlrab
1818
---
1919
# Always On Availability Groups Catalog Views (Transact-SQL)
20-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
20+
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
2121

2222
This section contains catalog views and functions that are related to [!INCLUDE[ssHADR](../../includes/sshadr-md.md)].
2323

2424
## In This Section
25-
26-
|||
27-
|-|-|
28-
|[sys.availability_databases_cluster](../../relational-databases/system-catalog-views/sys-availability-databases-cluster-transact-sql.md)|[sys.availability_groups_cluster](../../relational-databases/system-catalog-views/sys-availability-groups-cluster-transact-sql.md)|
29-
|[sys.availability_group_listener_ip_addresses](../../relational-databases/system-catalog-views/sys-availability-group-listener-ip-addresses-transact-sql.md)|[sys.availability_read_only_routing_lists](../../relational-databases/system-catalog-views/sys-availability-read-only-routing-lists-transact-sql.md)|
30-
|[sys.availability_group_listeners](../../relational-databases/system-catalog-views/sys-availability-group-listeners-transact-sql.md)|[sys.availability_replicas](../../relational-databases/system-catalog-views/sys-availability-replicas-transact-sql.md)|
31-
|[sys.availability_groups](../../relational-databases/system-catalog-views/sys-availability-groups-transact-sql.md)||
25+
26+
:::row:::
27+
:::column:::
28+
[sys.availability_databases_cluster](../../relational-databases/system-catalog-views/sys-availability-databases-cluster-transact-sql.md)
29+
30+
[sys.availability_group_listener_ip_addresses](../../relational-databases/system-catalog-views/sys-availability-group-listener-ip-addresses-transact-sql.md)
31+
32+
[sys.availability_group_listeners](../../relational-databases/system-catalog-views/sys-availability-group-listeners-transact-sql.md)
33+
34+
[sys.availability_groups](../../relational-databases/system-catalog-views/sys-availability-groups-transact-sql.md)
35+
:::column-end:::
36+
:::column:::
37+
[sys.availability_groups_cluster](../../relational-databases/system-catalog-views/sys-availability-groups-cluster-transact-sql.md)
38+
39+
[sys.availability_read_only_routing_lists](../../relational-databases/system-catalog-views/sys-availability-read-only-routing-lists-transact-sql.md)
40+
41+
[sys.availability_replicas](../../relational-databases/system-catalog-views/sys-availability-replicas-transact-sql.md)
42+
:::column-end:::
43+
:::row-end:::
3244

3345
> [!NOTE]
34-
> For information about joined availability databases, see the **replica_id** and **group_database_id** columns in [sys.databases (Transact-SQL);](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md).
46+
> For information about joined availability databases, see the **replica_id** and **group_database_id** columns in [sys.databases (Transact-SQL);](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md).
3547
3648
## See Also
3749
[sys.databases (Transact-SQL)](sys-databases-transact-sql.md)

docs/relational-databases/system-catalog-views/azure-sql-database-catalog-views.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,27 @@ monikerRange: "= azuresqldb-current || = sqlallproducts-allversions"
1818
# Azure SQL Database Catalog Views
1919
[!INCLUDE[tsql-appliesto-xxxxxx-asdb-xxxx-xxx_md](../../includes/tsql-appliesto-xxxxxx-asdb-xxxx-xxx-md.md)]
2020

21-
The following catalog views are available in this section.
22-
23-
|||
24-
|-|-|
25-
|[sys.bandwidth_usage (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-bandwidth-usage-azure-sql-database.md)|[sys.event_log (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-event-log-azure-sql-database.md)|
26-
|[sys.database_connection_stats (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-database-connection-stats-azure-sql-database.md)|[sys.firewall_rules (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-firewall-rules-azure-sql-database.md)|
27-
|[sys.database_firewall_rules (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-database-firewall-rules-azure-sql-database.md)|[sys.resource_stats (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-resource-stats-azure-sql-database.md)|
28-
|[sys.database_usage (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-database-usage-azure-sql-database.md)|[sys.resource_usage (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-resource-usage-azure-sql-database.md)|
29-
|[sys.elastic_pool_resource_stats (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-elastic-pool-resource-stats-azure-sql-database.md)| |
30-
31-
21+
The following catalog views are available in this section.
22+
23+
:::row:::
24+
:::column:::
25+
[sys.bandwidth_usage (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-bandwidth-usage-azure-sql-database.md)
26+
27+
[sys.database_connection_stats (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-database-connection-stats-azure-sql-database.md)
28+
29+
[sys.database_firewall_rules (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-database-firewall-rules-azure-sql-database.md)
30+
31+
[sys.database_usage (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-database-usage-azure-sql-database.md)
32+
33+
[sys.elastic_pool_resource_stats (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-elastic-pool-resource-stats-azure-sql-database.md)
34+
:::column-end:::
35+
:::column:::
36+
[sys.event_log (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-event-log-azure-sql-database.md)
37+
38+
[sys.firewall_rules (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-firewall-rules-azure-sql-database.md)
39+
40+
[sys.resource_stats (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-resource-stats-azure-sql-database.md)
41+
42+
[sys.resource_usage (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-resource-usage-azure-sql-database.md)
43+
:::column-end:::
44+
:::row-end:::

0 commit comments

Comments
 (0)