Skip to content

Commit 189e016

Browse files
committed
Merge branch 'master' of https://github.com/microsoftdocs/sql-docs-pr into 12-19-remove-revoscalepy-2
2 parents 51054dd + 7d43350 commit 189e016

33 files changed

Lines changed: 143 additions & 73 deletions

docs/2014/reporting-services/compare-business-intelligence-capabilities-in-different-microsoft-environments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ For more information comparing SharePoint Server and SharePoint Online, see [Com
5353

5454
**<sup>1</sup>** [Microsoft Power BI](https://apps.microsoft.com/windows/app/microsoft-power-bi/b7e7c94d-2ea3-4fa6-a277-9d19a1f697ba).
5555

56-
**<sup>2</sup>** [PowerPivot Workbooks as a Data Source](https://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/02/15/powerpivot-workbook-as-a-data-source.aspx)
56+
**<sup>2</sup>** [PowerPivot Workbooks as a Data Source](https://support.office.com/article/Power-Pivot-Powerful-data-analysis-and-data-modeling-in-Excel-A9C2C6E2-CC49-4976-A7D7-40896795D045)
5757

5858
**<sup>3</sup>** [Mobile Support across Business Intelligence (BI) Tools](https://msdn.microsoft.com/library/dn151146\(v=sql.110\).aspx) and [Planning for Reporting Services and Power View Browser Support (Reporting Services 2014)](https://msdn.microsoft.com/library/ms156511.aspx).
5959

docs/2014/sql-server/install/are-you-upgrading-from-sql-server-2005.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ manager: craigg
1414
# Are you upgrading from SQL Server 2005?
1515
The end of extended support for SQL Server 2005 is one reason to upgrade now to a newer version of SQL Server and to Azure SQL Database. Upgrading enables you to maintain security and compliance, achieve breakthrough performance, and optimize your data platform infrastructure.
1616

17-
For more info, guidance, and tools to plan and automate your upgrade or migration, see [SQL Server 2005 end of support](https://www.microsoft.com/server-cloud/products/sql-server-2005/).
17+
For more info, guidance, and tools to plan and automate your upgrade or migration, see [SQL Server 2005 end of support](https://www.microsoft.com/sql-server/sql-server-2005).
1818

1919
## Why upgrade?
2020

@@ -68,14 +68,14 @@ manager: craigg
6868
6969
- To get the more detailed "Technical Upgrade Guide" in PDF format, [click here](https://download.microsoft.com/download/7/1/5/715BDFA7-51B6-4D7B-AF17-61E78C7E538F/SQL_Server_2014_Upgrade_technical_guide.pdf).
7070

71-
- For more info, guidance, and tools to plan and automate your upgrade or migration, see [SQL Server 2005 end of support](https://www.microsoft.com/server-cloud/products/sql-server-2005/).
71+
- For more info, guidance, and tools to plan and automate your upgrade or migration, see [SQL Server 2005 end of support](https://www.microsoft.com/sql-server/sql-server-2005).
7272

7373
## Get SQL Server 2014
7474
To download an evaluation copy of SQL Server 2014, [click here](https://www.microsoft.com/evalcenter/evaluate-sql-server-2014).
7575

7676
## See Also
77-
[SQL Server 2014](https://www.microsoft.com/server-cloud/products/sql-server/default.aspx)
78-
[SQL Server 2005 end of support](https://www.microsoft.com/server-cloud/products/sql-server-2005/)
77+
[SQL Server 2014](https://docs.microsoft.com/sql/getting-started/getting-started-sql-server-2014)
78+
[SQL Server 2005 end of support](https://www.microsoft.com/sql-server/sql-server-2005)
7979
[Upgrade from SQL Server 2005 to SQL Server 2016](https://msdn.microsoft.com/library/mt168847.aspx)
8080

8181

docs/includes/gdpr-hybrid-note.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ ms.custom: include file
1313
---
1414

1515
>[!Note]
16-
>If you're interested in viewing or deleting personal data, please review Microsoft's guidance in the [Windows Data Subject Requests for the GDPR](https://docs.microsoft.com/microsoft-365/compliance/gdpr-dsr-windows) site. If you're looking for general information about GDPR, see the [GDPR section of the Service Trust portal](https://servicetrust.microsoft.com/ViewPage/GDPRGetStarted).
16+
>If you're interested in viewing or deleting personal data, please review Microsoft's guidance in the [Windows Data Subject Requests for the GDPR](https://docs.microsoft.com/microsoft-365/compliance/gdpr-data-subject-requests) site. If you're looking for general information about GDPR, see the [GDPR section of the Service Trust portal](https://servicetrust.microsoft.com/ViewPage/GDPRGetStarted).

docs/includes/getssmedia.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The download location for [!INCLUDE[ssnoversion](ssnoversion-md.md)] depends on the edition:
22

33

4-
* **SQL Server Enterprise, Standard, and Express Editions** are licensed for production use. For the Enterprise and Standard Editions, contact your software vendor for the installation media. You can find purchasing information and a directory of Microsoft partners on the [Microsoft purchasing website](https://www.microsoft.com/server-cloud/products/sql-server/overview.aspx).
4+
* **SQL Server Enterprise, Standard, and Express Editions** are licensed for production use. For the Enterprise and Standard Editions, contact your software vendor for the installation media. You can find purchasing information and a directory of Microsoft partners on the [Microsoft purchasing website](https://www.microsoft.com/sql-server/).
55
* [The latest free edition](https://www.microsoft.com/sql-server/sql-server-downloads).

docs/linux/sql-server-linux-active-directory-join-domain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Use the following steps to join a SQL Server host to an Active Directory domain:
172172

173173
SQL Server uses SSSD and NSS for mapping user accounts and groups to security identifiers (SIDs). SSSD must be configured and running for SQL Server to create AD logins successfully. **realmd** usually does this automatically as part of joining the domain, but in some cases, you must do this separately.
174174

175-
For more information, see how to [configure SSSD manually](https://access.redhat.com/articles/3023951), and [configure NSS to work with SSSD](https://access.redhat.com/documentation/red_hat_enterprise_linux/7/html/system-level_authentication_guide/configuring_services#Configuration_Options-NSS_Configuration_Options).
175+
For more information, see how to [configure SSSD manually](https://access.redhat.com/articles/3023951), and [configure NSS to work with SSSD](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/configuring_services#Configuration_Options-NSS_Configuration_Options).
176176

177177
1. Verify that you can now gather information about a user from the domain, and that you can acquire a Kerberos ticket as that user. The following example uses **id**, [kinit](https://web.mit.edu/kerberos/krb5-1.12/doc/user/user_commands/kinit.html), and [klist](https://web.mit.edu/kerberos/krb5-1.12/doc/user/user_commands/klist.html) commands for this.
178178

docs/linux/sql-server-linux-ha-basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ This section covers tasks that are common to all Linux-based [!INCLUDE[ssnoversi
5353
Copying files from one server to another is a task that anyone using [!INCLUDE[ssnoversion-md](../includes/ssnoversion-md.md)] on Linux should be able to do. This task is very important for AG configurations.
5454

5555
Things like permission issues can exist on Linux as well as on Windows-based installations. However, those familiar with how to copy from server to server on Windows may not be familiar with how it is done on Linux. A common method is to use the command-line utility `scp`, which stands for secure copy. Behind the scenes, `scp` uses OpenSSH. SSH stands for secure shell. Depending on the Linux distribution, OpenSSH itself may not be installed. If it is not, OpenSSH needs to be installed first. For more information on configuring OpenSSH, see the information at the following links for each distribution:
56-
- [Red Hat Enterprise Linux (RHEL)](https://access.redhat.com/documentation/red_hat_enterprise_linux/6/html/deployment_guide/ch-openssh)
56+
- [Red Hat Enterprise Linux (RHEL)](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-openssh)
5757
- [SUSE Linux Enterprise Server (SLES)](https://en.opensuse.org/SDB:Configure_openSSH)
5858
- [Ubuntu](https://help.ubuntu.com/community/SSH/OpenSSH/Configuring)
5959

@@ -112,7 +112,7 @@ sudo firewall-cmd --permanent --add-service=high-availability
112112
```
113113

114114
**Firewall documentation:**
115-
- [RHEL](https://access.redhat.com/documentation/red_hat_enterprise_linux/7/html/high_availability_add-on_reference/s1-firewalls-haar)
115+
- [RHEL](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_reference/s1-firewalls-haar)
116116
- [SLES](https://www.suse.com/documentation/sle-ha-12/singlehtml/book_sleha/book_sleha.html)
117117

118118
### Install [!INCLUDE[ssnoversion-md](../includes/ssnoversion-md.md)] packages for availability

docs/linux/sql-server-linux-shared-disk-cluster-red-hat-7-configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ For more information about using NFS, see the following resources:
197197

198198
* [NFS servers and firewalld | Stack Exchange](https://unix.stackexchange.com/questions/243756/nfs-servers-and-firewalld)
199199
* [Mounting an NFS Volume | Linux Network Administrators Guide](https://www.tldp.org/LDP/nag2/x-087-2-nfs.mountd.html)
200-
* [NFS server configuration | Red Hat Customer Portal](https://access.redhat.com/documentation/red_hat_enterprise_linux/7/html/storage_administration_guide/nfs-serverconfig)
200+
* [NFS server configuration | Red Hat Customer Portal](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/nfs-serverconfig)
201201

202202
### Mount database files directory to point to the shared storage
203203

docs/odbc/reference/syntax/sqlbindcol-function.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ SQLRETURN SQLBindCol(
289289
#include <sqlext.h>
290290
291291
#define NAME_LEN 50
292-
#define PHONE_LEN 20
292+
#define PHONE_LEN 60
293293
294294
void show_error() {
295295
printf("error\n");
@@ -329,17 +329,24 @@ int main() {
329329
if (retcode == SQL_SUCCESS || retcode == SQL_SUCCESS_WITH_INFO) {
330330
331331
// Bind columns 1, 2, and 3
332-
retcode = SQLBindCol(hstmt, 1, SQL_C_CHAR, &sCustID, 100, &cbCustID);
333-
retcode = SQLBindCol(hstmt, 2, SQL_C_CHAR, szName, NAME_LEN, &cbName);
334-
retcode = SQLBindCol(hstmt, 3, SQL_C_CHAR, szPhone, PHONE_LEN, &cbPhone);
332+
retcode = SQLBindCol(hstmt, 1, SQL_C_WCHAR, &sCustID, 100, &cbCustID);
333+
retcode = SQLBindCol(hstmt, 2, SQL_C_WCHAR, szName, NAME_LEN, &cbName);
334+
retcode = SQLBindCol(hstmt, 3, SQL_C_WCHAR, szPhone, PHONE_LEN, &cbPhone);
335335
336336
// Fetch and print each row of data. On an error, display a message and exit.
337-
for (i ; ; i++) {
337+
for (int i=0 ; ; i++) {
338338
retcode = SQLFetch(hstmt);
339339
if (retcode == SQL_ERROR || retcode == SQL_SUCCESS_WITH_INFO)
340340
show_error();
341341
if (retcode == SQL_SUCCESS || retcode == SQL_SUCCESS_WITH_INFO)
342-
wprintf(L"%d: %S %S %S\n", i + 1, sCustID, szName, szPhone);
342+
{
343+
//replace wprintf with printf
344+
//%S with %ls
345+
//warning C4477: 'wprintf' : format string '%S' requires an argument of type 'char *'
346+
//but variadic argument 2 has type 'SQLWCHAR *'
347+
//wprintf(L"%d: %S %S %S\n", i + 1, sCustID, szName, szPhone);
348+
printf("%d: %ls %ls %ls\n", i + 1, sCustID, szName, szPhone);
349+
}
343350
else
344351
break;
345352
}

docs/relational-databases/system-catalog-views/sys-column-store-dictionaries-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ms.author: carlrab
3434
|**type**|**int**|Dictionary type:<br /><br /> 1 - Hash dictionary containing **int** values<br /><br /> 2 - Not used<br /><br /> 3 - Hash dictionary containing string values<br /><br /> 4 - Hash dictionary containing **float** values<br /><br /> For more information about dictionaries, see [Columnstore Indexes Guide](~/relational-databases/indexes/columnstore-indexes-overview.md).|
3535
|**last_id**|**int**|The last data ID in the dictionary.|
3636
|**entry_count**|**bigint**|Number of entries in the dictionary.|
37-
|**on_disc_size**|**bigint**|Size of dictionary in bytes.|
37+
|**on_disk_size**|**bigint**|Size of dictionary in bytes.|
3838
|**partition_id**|**bigint**|Indicates the partition ID. Is unique within a database.|
3939

4040
## Permissions

docs/relational-databases/system-dynamic-management-views/sys-dm-exec-query-plan-stats-transact-sql.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ This is an opt-in feature and requires [trace flag](../../t-sql/database-console
6262

6363
This system function works under the **lightweight** query execution statistics profiling infrastructure. For more information, see [Query Profiling Infrastructure](../../relational-databases/performance/query-profiling-infrastructure.md).
6464

65+
The Showplan output by sys.dm_exec_query_plan_stats contains the following information:
66+
- All the compile-time information found in the cached plan
67+
- Runtime information such as the actual number of rows per operator, the total query CPU time and execution time, spill warnings, actual DOP, the maximum used memory and granted memory
68+
6569
Under the following conditions, a Showplan output **equivalent to an actual execution plan** is returned in the **query_plan** column of the returned table for **sys.dm_exec_query_plan_stats**:
6670

6771
- The plan can be found in [sys.dm_exec_cached_plans](../../relational-databases/system-dynamic-management-views/sys-dm-exec-cached-plans-transact-sql.md).

0 commit comments

Comments
 (0)