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/azure-data-studio/extensions/sql-database-project-extension-build-from-command-line.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,19 +19,19 @@ While the SQL Database Project extension (preview) for Azure Data Studio provide
19
19
20
20
1. Install and configure [SQL Database Projects extension for Azure Data Studio](sql-database-project-extension.md).
21
21
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.
23
23
24
+
- Microsoft.Data.SqlClient.dll
24
25
- Microsoft.Data.Tools.Schema.Sql.dll
26
+
- Microsoft.Data.Tools.Schema.SqlTasks.targets
25
27
- Microsoft.Data.Tools.Schema.Tasks.Sql.dll
26
28
- Microsoft.Data.Tools.Utilities.dll
27
-
- System.Io.Packaging.dll
28
29
- Microsoft.SqlServer.Dac.dll
29
30
- Microsoft.SqlServer.Dac.Extensions.dll
30
31
- Microsoft.SqlServer.TransactSql.ScriptDom.dll
31
32
- Microsoft.SqlServer.Types.dll
32
-
- Microsoft.Data.Tools.Schema.SqlTasks.targets
33
33
- System.ComponentModel.Composition.dll
34
-
-Microsoft.Data.SqlClient.dll
34
+
-System.IO.Packaging.dll
35
35
36
36
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:
Copy file name to clipboardExpand all lines: docs/relational-databases/system-functions/sys-fn-listextendedproperty-transact-sql.md
+45-3Lines changed: 45 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,23 @@ fn_listextendedproperty (
56
56
Is the name of the property. *property_name* is **sysname**. Valid inputs are default, NULL, or a property name.
57
57
58
58
{ 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
60
76
61
77
> [!IMPORTANT]
62
78
> 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 (
65
81
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.
66
82
67
83
{ 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
69
99
70
100
> [!NOTE]
71
101
> Default maps to NULL and 'default' maps to the object type DEFAULT.
@@ -74,7 +104,19 @@ fn_listextendedproperty (
74
104
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.
75
105
76
106
{ 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
78
120
79
121
{ default | '*level2_object_name*' |NULL }
80
122
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.
Copy file name to clipboardExpand all lines: docs/t-sql/statements/drop-database-transact-sql.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ The DROP DATABASE statement must run in autocommit mode and is not allowed in an
97
97
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.
98
98
99
99
> [!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.
0 commit comments