Skip to content

Commit 52be00b

Browse files
authored
Merge pull request #19639 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to master to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents ae2e7fc + c781e85 commit 52be00b

File tree

3 files changed

+51
-9
lines changed

3 files changed

+51
-9
lines changed

docs/azure-data-studio/extensions/sql-database-project-extension-build-from-command-line.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ While the SQL Database Project extension (preview) for Azure Data Studio provide
1919

2020
1. Install and configure [SQL Database Projects extension for Azure Data Studio](sql-database-project-extension.md).
2121

22-
2. The following .NET Core dlls and the target file `Microsoft.Data.Tools.Schema.SqlTasks.targets` are required to build a SQL database project from the command line from all platforms supported by the Azure Data Studio extension for SQL Database Projects. These files are created by the extension during the first build completed in the Azure Data Studio interface and placed in the extension's folder under `BuildDirectory`. For example, on Linux, these files are placed in `~\.azuredatastudio\extensions\microsoft.sql-database-projects-x.x.x\BuildDirectory\`. Copy these 10 files to a new and accessible folder or note their location. This location will be referred to as `DotNet Core build folder` in this document.
22+
2. The following .NET Core dlls and the target file `Microsoft.Data.Tools.Schema.SqlTasks.targets` are required to build a SQL database project from the command line from all platforms supported by the Azure Data Studio extension for SQL Database Projects. These files are created by the extension during the first build completed in the Azure Data Studio interface and placed in the extension's folder under `BuildDirectory`. For example, on Linux, these files are placed in `~\.azuredatastudio\extensions\microsoft.sql-database-projects-x.x.x\BuildDirectory\`. Copy these 11 files to a new and accessible folder or note their location. This location will be referred to as `DotNet Core build folder` in this document.
2323

24+
- Microsoft.Data.SqlClient.dll
2425
- Microsoft.Data.Tools.Schema.Sql.dll
26+
- Microsoft.Data.Tools.Schema.SqlTasks.targets
2527
- Microsoft.Data.Tools.Schema.Tasks.Sql.dll
2628
- Microsoft.Data.Tools.Utilities.dll
27-
- System.Io.Packaging.dll
2829
- Microsoft.SqlServer.Dac.dll
2930
- Microsoft.SqlServer.Dac.Extensions.dll
3031
- Microsoft.SqlServer.TransactSql.ScriptDom.dll
3132
- Microsoft.SqlServer.Types.dll
32-
- Microsoft.Data.Tools.Schema.SqlTasks.targets
3333
- System.ComponentModel.Composition.dll
34-
- Microsoft.Data.SqlClient.dll
34+
- System.IO.Packaging.dll
3535

3636
3. If the project was created in Azure Data Studio - skip ahead to [Build the project from the command line](#build-the-project-from-the-command-line). If the project was created in SQL Server Data Tools (SSDT), open the project in the Azure Data Studio SQL Database project extension. Opening the project in Azure Data Studio automatically updates the `sqlproj` file with three edits, noted below for your information:
3737

docs/relational-databases/system-functions/sys-fn-listextendedproperty-transact-sql.md

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,23 @@ fn_listextendedproperty (
5656
Is the name of the property. *property_name* is **sysname**. Valid inputs are default, NULL, or a property name.
5757

5858
{ default | '*level0_object_type*' | NULL}
59-
Is the user or user-defined type. *level0_object_type* is **varchar(128)**, with a default of NULL. Valid inputs are ASSEMBLY, CONTRACT, EVENT NOTIFICATION, FILEGROUP, MESSAGE TYPE, PARTITION FUNCTION, PARTITION SCHEME, REMOTE SERVICE BINDING, ROUTE, SCHEMA, SERVICE, TRIGGER, TYPE, USER, and NULL.
59+
Is the user or user-defined type. *level0_object_type* is **varchar(128)**, with a default of NULL.
60+
Valid inputs are:
61+
- ASSEMBLY
62+
- CONTRACT
63+
- EVENT NOTIFICATION
64+
- FILEGROUP
65+
- MESSAGE TYPE
66+
- PARTITION FUNCTION
67+
- PARTITION SCHEME
68+
- REMOTE SERVICE BINDING
69+
- ROUTE
70+
- SCHEMA
71+
- SERVICE
72+
- TRIGGER
73+
- TYPE
74+
- USER
75+
- NULL
6076

6177
> [!IMPORTANT]
6278
> USER and TYPE as level-0 types will be removed in a future version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. Avoid using these features in new development work, and plan to modify applications that currently use these features. Use SCHEMA as the level 0 type instead of USER. For TYPE, use SCHEMA as the level 0 type and TYPE as the level 1 type.
@@ -65,7 +81,21 @@ fn_listextendedproperty (
6581
Is the name of the level 0 object type specified. *level0_object_name* is **sysname** with a default of NULL. Valid inputs are default, NULL, or an object name.
6682

6783
{ default | '*level1_object_type*' | NULL }
68-
Is the type of level 1 object. *level1_object_type* is **varchar(128)** with a default of NULL. Valid inputs are AGGREGATE, DEFAULT, FUNCTION, LOGICAL FILE NAME, PROCEDURE, QUEUE, RULE, SYNONYM, TABLE, TYPE, VIEW, XML SCHEMA COLLECTION, and NULL.
84+
Is the type of level 1 object. *level1_object_type* is **varchar(128)** with a default of NULL.
85+
Valid inputs are:
86+
- AGGREGATE
87+
- DEFAULT
88+
- FUNCTION
89+
- LOGICAL FILE NAME
90+
- PROCEDURE
91+
- QUEUE
92+
- RULE
93+
- SYNONYM
94+
- TABLE
95+
- TYPE
96+
- VIEW
97+
- XML SCHEMA COLLECTION
98+
- NULL
6999

70100
> [!NOTE]
71101
> Default maps to NULL and 'default' maps to the object type DEFAULT.
@@ -74,7 +104,19 @@ fn_listextendedproperty (
74104
Is the name of the level 1 object type specified. *level1_object_name* is **sysname** with a default of NULL. Valid inputs are default, NULL, or an object name.
75105

76106
{ default | '*level2_object_type*' |NULL }
77-
Is the type of level 2 object. *level2_object_type* is **varchar(128)** with a default of NULL. Valid inputs are DEFAULT, default (maps to NULL), and NULL. Valid inputs for *level2_object_type* are COLUMN, CONSTRAINT, EVENT NOTIFICATION, INDEX, PARAMETER, TRIGGER, and NULL.
107+
Is the type of level 2 object. *level2_object_type* is **varchar(128)** with a default of NULL.
108+
Valid inputs are:
109+
- DEFAULT
110+
- default (maps to NULL)
111+
- NULL.
112+
Valid inputs for *level2_object_type* are:
113+
- COLUMN
114+
- CONSTRAINT
115+
- EVENT NOTIFICATION
116+
- INDEX
117+
- PARAMETER
118+
- TRIGGER
119+
- NULL
78120

79121
{ default | '*level2_object_name*' |NULL }
80122
Is the name of the level 2 object type specified. *level2_object_name* is **sysname** with a default of NULL. Valid inputs are default, NULL, or an object name.

docs/t-sql/statements/drop-database-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The DROP DATABASE statement must run in autocommit mode and is not allowed in an
9797
You cannot drop a database currently being used. This means open for reading or writing by any user. One way to remove users from the database is to use ALTER DATABASE to set the database to SINGLE_USER.
9898

9999
> [!WARNING]
100-
> This is not a fail-proof approach, since first consecutive connection made by any thread will receive the SINGLE_USER thread, causing your connection to fail. Sql server does not provide a built-in way to drop databases under load.
100+
> This is not a fail-proof approach, since first consecutive connection made by any thread will receive the SINGLE_USER thread, causing your connection to fail. SQL Server does not provide a built-in way to drop databases under load.
101101
102102
### [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]
103103

@@ -166,4 +166,4 @@ DROP DATABASE sales_snapshot0600;
166166
- [ALTER DATABASE](../../t-sql/statements/alter-database-transact-sql.md)
167167
- [CREATE DATABASE](../../t-sql/statements/create-database-transact-sql.md)
168168
- [EVENTDATA](../../t-sql/functions/eventdata-transact-sql.md)
169-
- [sys.databases](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md)
169+
- [sys.databases](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md)

0 commit comments

Comments
 (0)