Skip to content

Commit 2d172bb

Browse files
authored
Merge pull request #6293 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to master to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents 4d85a16 + 0a90bee commit 2d172bb

3 files changed

Lines changed: 23 additions & 25 deletions

File tree

docs/analysis-services/instances/high-availability-and-scalability-in-analysis-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ manager: kfile
7979
|Multidimensional models using MOLAP storage|Choose a balanced configuration that accommodates disk IO for loading data quickly and sufficient RAM for cached data.|
8080
|Multidimensional models using ROLAP storage.|Maximize disk IO and minimize network latency.|
8181

82-
## Highly availability and redundancy through WSFC
82+
## High availability and redundancy through WSFC
8383
Analysis Services can be installed into an existing Windows Server Failover Cluster (WSFC) to achieve high availability that restores service within the shortest time possible.
8484

8585
Failover clusters provide full access (read and writeback) to the database, but only one node at a time. Secondary databases run on additional nodes in the cluster, as replacement servers if the first node goes down.

docs/reporting-services/report-builder/rendering-to-html-report-builder-and-ssrs.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ manager: "kfile"
2020
---
2121
# Rendering to HTML (Report Builder and SSRS)
2222
The HTML rendering extension renders a paginated report in HTML format. The rendering extension can also produce fully formed HTML pages or fragments of HTML to embed in other HTML pages. All HTML is generated with UTF-8 encoding.
23-
24-
The HTML rendering extension is the default rendering extension for reports that are viewed in a browser, including when run in the [!INCLUDE[ssRSCurrent](../../includes/ssrscurrent-md.md)] web portal.
25-
23+
2624
The HTML rendering extension is the default rendering extension for reports that are viewed in a browser, including when run in the [!INCLUDE[ssRSCurrent](../../includes/ssrscurrent-md.md)] web portal. The HTML rendering extension can render HTML as a fragment or as a full HTML document. If the HTML is a fragment, the **HEAD**, **HTML**, and **BODY** tags of the HTML document are removed. Only the contents of the **BODY** tag are rendered. This is useful for embedding the HTML in the HTML produced by another application.
2725

2826
In some scenarios, report parameters can be used to launch script injection attacks when rendering reports to HTML. For more information about securing reports, see [Secure Reports and Resources](../../reporting-services/security/secure-reports-and-resources.md).

docs/t-sql/functions/datetimeoffsetfromparts-transact-sql.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
title: "DATETIMEOFFSETFROMPARTS (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "07/29/2017"
@@ -27,7 +27,7 @@ monikerRange: ">= aps-pdw-2016 || = azuresqldb-current || = azure-sqldw-latest |
2727
# DATETIMEOFFSETFROMPARTS (Transact-SQL)
2828
[!INCLUDE[tsql-appliesto-ss2012-all-md](../../includes/tsql-appliesto-ss2012-all-md.md)]
2929

30-
Returns a **datetimeoffset** value for the specified date and time and with the specified offsets and precision.
30+
This function returns a **datetimeoffset** value for the specified date and time arguments. The returned value has a precision specified by the precision argument, and offsets determined by the hour and minute offset arguments.
3131

3232
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
3333

@@ -39,48 +39,48 @@ DATETIMEOFFSETFROMPARTS ( year, month, day, hour, minute, seconds, fractions, ho
3939

4040
## Arguments
4141
*year*
42-
Integer expression specifying a year.
42+
An integer expression that specifies a year.
4343

4444
*month*
45-
Integer expression specifying a month.
45+
An integer expression that specifies a month.
4646

4747
*day*
48-
Integer expression specifying a day.
48+
An integer expression that specifies a day.
4949

5050
*hour*
51-
Integer expression specifying hours.
51+
An integer expression that specifies hours.
5252

5353
*minute*
54-
Integer expression specifying minutes.
54+
An integer expression that specifies minutes.
5555

5656
*seconds*
57-
Integer expression specifying seconds.
57+
An integer expression that specifies seconds.
5858

5959
*fractions*
60-
Integer expression specifying fractions.
60+
An integer expression that specifies a fractional value.
6161

6262
*hour_offset*
63-
Integer expression specifying the hour portion of the time zone offset.
63+
An integer expression that specifies the hour portion of the time zone offset.
6464

6565
*minute_offset*
66-
Integer expression specifying the minute portion of the time zone offset.
66+
An integer expression that specifies the minute portion of the time zone offset.
6767

6868
*precision*
69-
Integer literal specifying the precision of the **datetimeoffset** value to be returned.
69+
An integer literal that specifies the precision of the **datetimeoffset** value that `DATETIMEOFFSETFROMPARTS` will return.
7070

7171
## Return types
7272
**datetimeoffset(** *precision* **)**
7373

7474
## Remarks
75-
**DATETIMEOFFSETFROMPARTS** returns a fully initialized **datetimeoffset** data type. The offset arguments are used to represent the time zone offset. If the offset arguments are omitted, then the time zone offset is assumed to be 00:00, that is, there is no time zone offset. If the offset arguments are specified, then both arguments must be present and both must be positive or negative. If *minute_offset* is specified without *hour_offset*, an error is raised. If other arguments are not valid, then an error is raised. If required arguments are null, then a null is returned. However, if the *precision* argument is null, then an error is raised.
76-
77-
The *fractions* argument depends on the *precision* argument. For example, if *precision* is 7, then each fraction represents 100 nanoseconds; if *precision* is 3, then each fraction represents a millisecond. If the value of *precision* is zero, then the value of *fractions* must also be zero; otherwise, an error is raised.
75+
`DATETIMEOFFSETFROMPARTS` returns a fully initialized **datetimeoffset** data type. `DATETIMEOFFSETFROMPARTS` uses the offset arguments to represent the time zone offset. If the offset arguments are omitted, `DATETIMEOFFSETFROMPARTS` assumes a time zone offset of 00:00 - in other words, no time zone offset at all. For specified offset arguments, `DATETIMEOFFSETFROMPARTS` expects values for both arguments, and either both positive or both negative values for those arguments. For a specified *minute_offset* without a specified *hour_offset* value, `DATETIMEOFFSETFROMPARTS` will raise an error. If other arguments have invalid values, `DATETIMEOFFSETFROMPARTS` will raise an error. `DATETIMEOFFSETFROMPARTS` returns null if at least one required argument has a null value. However, if the *precision* argument has a null value, `DATETIMEOFFSETFROMPARTS` will raise an error.
7876

79-
This function is capable of being remoted to [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)] servers and above. It will not be remoted to servers that have a version below [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)].
77+
The *fractions* argument depends on the *precision* argument. For example, for a *precision* value of 7, each fraction represents 100 nanoseconds; for a *precision* of 3, each fraction represents a millisecond. For a *precision* value of zero, the value of *fractions* must also be zero; otherwise, `DATETIMEOFFSETFROMPARTS` will raise an error.
78+
79+
his function supports remoting to [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)] servers and above. It will not support remoting to servers that have a version below [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)].
8080

8181
## Examples
8282

83-
### A. Simple example without fractions of a second
83+
### A. An example without fractions of a second
8484

8585
```sql
8686
SELECT DATETIMEOFFSETFROMPARTS ( 2010, 12, 31, 14, 23, 23, 0, 12, 0, 7 ) AS Result;
@@ -97,10 +97,10 @@ Result
9797
```
9898

9999
### B. Example with fractions of a second
100-
The following example demonstrates the use of the *fractions* and *precision* parameters:
101-
1. When *fractions* has a value of 5 and *precision* has a value of 1, then the value of *fractions* represents 5/10 of a second.
102-
1. When *fractions* has a value of 50 and *precision* has a value of 2, then the value of *fractions* represents 50/100 of a second.
103-
1. When *fractions* has a value of 500 and *precision* has a value of 3, then the value of *fractions* represents 500/1000 of a second.
100+
This example demonstrates the use of the *fractions* and *precision* parameters:
101+
1. When *fractions* has a value of 5, and *precision* has a value of 1, then the value of *fractions* represents 5/10 of a second.
102+
1. When *fractions* has a value of 50, and *precision* has a value of 2, then the value of *fractions* represents 50/100 of a second.
103+
1. When *fractions* has a value of 500, and *precision* has a value of 3, then the value of *fractions* represents 500/1000 of a second.
104104

105105
```sql
106106
SELECT DATETIMEOFFSETFROMPARTS ( 2011, 8, 15, 14, 30, 00, 5, 12, 30, 1 );

0 commit comments

Comments
 (0)