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/tutorial-sql-editor.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,11 +61,11 @@ Azure Data Studio provides many built-in T-SQL snippets for quickly creating sta
61
61
62
62
2. Type **sql** in the editor, arrow down to **sqlCreateStoredProcedure**, and press the *Tab* key (or *Enter*) to load the create stored procedure snippet.

65
65
66
66
3. The create stored procedure snippet has two fields set up for quick edit, *StoredProcedureName* and *SchemaName*. Select *StoredProcedureName*, right-click, and select **Change All Occurrences**. Now type *getCustomer* and all *StoredProcedureName* entries change to *getCustomer*.

69
69
70
70
5. Change all occurrences of *SchemaName* to *dbo*.
71
71
6. The snippet contains placeholder parameters and body text that needs updating. The *EXECUTE* statement also contains placeholder text because it doesn't know how many parameters the procedure will have. For this tutorial update the snippet so it looks like the following code:
Copy file name to clipboardExpand all lines: docs/connect/jdbc/reference/supportsresultsetconcurrency-method-sqlserverdatabasemetadata.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,12 +57,12 @@ public boolean supportsResultSetConcurrency(int type,
57
57
58
58
An **int** that indicates the result set concurrency level, which can be one of the following values as defined in java.sql.ResultSet or SQLServerResultSet:
Copy file name to clipboardExpand all lines: docs/connect/php/installation-tutorial-linux-mac.md
+18-8Lines changed: 18 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Linux and macOS Installation for the Drivers for PHP"
3
3
description: "In these instructions, learn how to install the Microsoft Drivers for PHP for SQL Server on Linux or macOS."
4
-
ms.date: "09/22/2020"
4
+
ms.date: "10/30/2020"
5
5
ms.prod: sql
6
6
ms.prod_service: connectivity
7
7
ms.custom: ""
@@ -15,7 +15,7 @@ manager: v-mabarw
15
15
# Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server
16
16
The following instructions assume a clean environment and show how to install PHP 7.x, the Microsoft ODBC driver, the Apache web server, and the Microsoft Drivers for PHP for SQL Server on Ubuntu 16.04, 18.04, and 20.04, RedHat 7 and 8, Debian 8, 9, and 10, Suse 12 and 15, Alpine 3.11, and macOS 10.13, 10.14, and 10.15. These instructions advise installing the drivers using PECL, but you can also download the prebuilt binaries from the [Microsoft Drivers for PHP for SQL Server](https://github.com/Microsoft/msphpsql/releases) GitHub project page and install them following the instructions in [Loading the Microsoft Drivers for PHP for SQL Server](../../connect/php/loading-the-php-sql-driver.md). For an explanation of extension loading and why we do not add the extensions to php.ini, see the section on [loading the drivers](../../connect/php/loading-the-php-sql-driver.md#loading-the-driver-at-php-startup).
17
17
18
-
These instructions install PHP 7.4 by default using `pecl install`. You may need to run `pecl channel-update pecl.php.net` first. Note that some supported Linux distros default to PHP 7.1 or earlier, which is not supported for the latest version of the PHP drivers for SQL Server -- please see the notes at the beginning of each section to install PHP 7.2 or 7.3 instead.
18
+
These instructions install PHP 7.4 by default using `pecl install`. You may need to run `pecl channel-update pecl.php.net` first. Some supported Linux distros default to PHP 7.1 or earlier, which is not supported for the latest version of the PHP drivers for SQL Server. See the notes at the beginning of each section to install PHP 7.2 or 7.3 instead.
19
19
20
20
Also included are instructions for installing the PHP FastCGI Process Manager, PHP-FPM, on Ubuntu. This is needed if using the nginx web server instead of Apache.
21
21
@@ -262,7 +262,7 @@ To test your installation, see [Testing your installation](#testing-your-install
262
262
## Installing the drivers on Suse 12 and 15
263
263
264
264
> [!NOTE]
265
-
> In the following instructions, replace `<SuseVersion>` with your version of Suse - if you are using Suse Enterprise Linux 15, it will be SLE_15 or SLE_15_SP1. For Suse 12, use SLE_12_SP4 (or above if applicable). Not all versions of PHP are available for all versions of Suse Linux - please refer to `http://download.opensuse.org/repositories/devel:/languages:/php` to see which versions of Suse have the default version PHP available, or to `http://download.opensuse.org/repositories/devel:/languages:/php:/` to see which other versions of PHP are available for which versions of Suse.
265
+
> In the following instructions, replace `<SuseVersion>` with your version of Suse - if you are using Suse Enterprise Linux 15, it will be SLE_15 or SLE_15_SP1. For Suse 12, use SLE_12_SP4 (or above if applicable). Not all versions of PHP are available for all versions of Suse Linux. Refer to `http://download.opensuse.org/repositories/devel:/languages:/php` to see which versions of Suse have the default version PHP available, or to `http://download.opensuse.org/repositories/devel:/languages:/php:/` to see which other versions of PHP are available for which versions of Suse.
266
266
267
267
> [!NOTE]
268
268
> Packages for PHP 7.4 are not available for Suse 12.
@@ -314,7 +314,7 @@ To test your installation, see [Testing your installation](#testing-your-install
314
314
> The default version of PHP is 7.3. Alternate versions of PHP may be available from other repositories for Alpine 3.11. You can instead compile PHP from source.
315
315
316
316
### Step 1. Install PHP
317
-
PHP packages for Alpine can be found in the `edge/community` repository. Please check[Enable Community Repository](https://wiki.alpinelinux.org/wiki/Enable_Community_Repository) on their WIKI page. Add the following line to `/etc/apt/repositories`, replacing `<mirror>` with the URL of an Alpine repository mirror:
317
+
PHP packages for Alpine can be found in the `edge/community` repository. Check[Enable Community Repository](https://wiki.alpinelinux.org/wiki/Enable_Community_Repository) on their WIKI page. Add the following line to `/etc/apt/repositories`, replacing `<mirror>` with the URL of an Alpine repository mirror:
318
318
```
319
319
http://<mirror>/alpine/edge/community
320
320
```
@@ -365,7 +365,7 @@ brew tap
365
365
brew tap homebrew/core
366
366
brew install php@7.4
367
367
```
368
-
PHP should now be in your path -- run`php -v` to verify that you are running the correct version of PHP. If PHP is not in your path or it is not the correct version, run the following:
368
+
PHP should now be in your path. Run`php -v` to verify that you are running the correct version of PHP. If PHP is not in your path or it is not the correct version, run the following:
369
369
```bash
370
370
brew link --force --overwrite php@7.4
371
371
```
@@ -405,7 +405,7 @@ To test your installation, see [Testing your installation](#testing-your-install
405
405
## Testing Your Installation
406
406
407
407
To test this sample script, create a file called testsql.php in your system's document root. This is `/var/www/html/` on Ubuntu, Debian, and Redhat, `/srv/www/htdocs` on SUSE, `/var/www/localhost/htdocs` on Alpine, or `/usr/local/var/www` on macOS. Copy the following script to it, replacing the server, database, username, and password as appropriate.
while ($row = sqlsrv_fetch_array($stmt, SQLSRV_FETCH_ASSOC)) {
@@ -445,6 +454,7 @@ sqlsrv_close($conn);
445
454
function formatErrors($errors)
446
455
{
447
456
// Display errors
457
+
echo "<h1>SQL Error:</h1>";
448
458
echo "Error information: <br/>";
449
459
foreach ($errors as $error) {
450
460
echo "SQLSTATE: ". $error['SQLSTATE'] . "<br/>";
@@ -454,7 +464,7 @@ function formatErrors($errors)
454
464
}
455
465
?>
456
466
```
457
-
Point your browser to https://localhost/testsql.php (https://localhost:8080/testsql.php on macOS). You should now be able to connect to your SQL Server/Azure SQL database.
467
+
Point your browser to https://localhost/testsql.php (https://localhost:8080/testsql.php on macOS). You should now be able to connect to your SQL Server/Azure SQL database. If you don't see a success message showing SQL version information, see [Support resources](support-resources-for-the-php-sql-driver.md) for places to go for help.
458
468
459
469
## See Also
460
470
[Getting Started with the Microsoft Drivers for PHP for SQL Server](../../connect/php/getting-started-with-the-php-sql-driver.md)
Copy file name to clipboardExpand all lines: docs/database-engine/install-windows/change-the-database-compatibility-mode-and-use-the-query-store.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ The upgrade process to enable new query processor functionality is related to th
40
40
41
41
The recommended workflow for upgrading the query processor to the latest version of the code is documented in the [Keep performance stability during the upgrade to newer SQL Server section of Query Store Usage Scenarios](../../relational-databases/performance/query-store-usage-scenarios.md#CEUpgrade), as seen below.

44
44
45
45
Starting with [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] v18, users can be guided through the recommended workflow using the Query Tuning Assistant. For more information, see [Upgrading Databases by using the Query Tuning Assistant](../../relational-databases/performance/upgrade-dbcompat-using-qta.md).

42
42
43
43
>[!NOTE]
44
44
> The numbers in the path *nnn* correspond to the version of SQL being installed. In the above picture, SQL 2017 was installed, so the folder is 140. For SQL 2016, the folder would be 130, and for SQL 2014 the folder would be 120.
Determined by the data types of the two arguments. For more information, see [Integration Services Data Types in Expressions](../../integration-services/expressions/integration-services-data-types-in-expressions.md).
39
39
40
40
## Remarks
41
-
Enclose the minus unary expression in parenthesis to ensure that the expression is evaluated in the correct order
42
-
43
-
## Remarks
44
-
If either operand is null, the result is null.
41
+
- Enclose the minus unary expression in parenthesis to ensure that the expression is evaluated in the correct order
### B. Return statistics for all running executions
72
+
69
73
In the following example, the function returns statistics for all the executions running on the [!INCLUDE[ssISnoversion](../includes/ssisnoversion-md.md)] server, depending on your permissions.
The unique identifier for the data tap that is created by using the catalog.add_data_tap stored procedure. The *data_tap_id* is **bigint**.
33
33
34
34
## Remarks
35
-
When a package contains more than one data flow tasks that have the same name, the data tap is added to the first data flow task with the given name.
35
+
36
+
- When a package contains more than one data flow tasks that have the same name, the data tap is added to the first data flow task with the given name.
37
+
38
+
- To remove data taps, the instance of the execution must be in the created state (a value of 1 in the **status** column of the [catalog.operations (SSISDB Database)](../../integration-services/system-views/catalog-operations-ssisdb-database.md)view) .
To remove data taps, the instance of the execution must be in the created state (a value of 1 in the **status** column of the [catalog.operations (SSISDB Database)](../../integration-services/system-views/catalog-operations-ssisdb-database.md)view) .
47
-
48
48
## Permissions
49
49
This stored procedure requires one of the following permissions:
0 commit comments