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/integration-services/extending-packages-scripting/task/connecting-to-data-sources-in-the-script-task.md
+30-42Lines changed: 30 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,51 +55,39 @@ ms.workload: "On Demand"
55
55
The following example demonstrates how to access connection managers from within the Script task. The sample assumes that you have created and configured an [!INCLUDE[vstecado](../../../includes/vstecado-md.md)] connection manager named **Test ADO.NET Connection** and a Flat File connection manager named **Test Flat File Connection**. Note that the [!INCLUDE[vstecado](../../../includes/vstecado-md.md)] connection manager returns a **SqlConnection** object that you can use immediately to connect to the data source. The Flat File connection manager, on the other hand, returns only a string that contains the path and file name. You must use methods from the **System.IO** namespace to open and work with the flat file.
Copy file name to clipboardExpand all lines: docs/integration-services/integration-services-ssis-variables.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,17 @@ ms.workload: "Active"
129
129
When the system resets the **IncludeInDebugDump** option to **false**, this might override the value selected by the user.
130
130
131
131
**Value**
132
-
The value of a user-defined variable can be a literal or an expression. A variable includes options for setting the variable value and the data type of the value. The two properties must be compatible: for example, the use of a string value together with an integer data type is not valid.
132
+
The value of a user-defined variable can be a literal or an expression. The value of a variable can't be null. Variables have the following default values:
133
+
134
+
| Data type | Default value |
135
+
|---|---|
136
+
| Boolean | False |
137
+
| Numeric and binary data types | 0 (zero) |
138
+
| Char and string data types | (empty string) |
139
+
| Object | System.Object |
140
+
|||
141
+
142
+
A variable has options for setting the variable value and the data type of the value. The two properties must be compatible: for example, the use of a string value together with an integer data type is not valid.
133
143
134
144
If the variable is configured to evaluate as an expression, you must provide an expression. At run time, the expression is evaluated, and the variable is set to the evaluation result. For example, if a variable uses the expression `DATEPART("month", GETDATE())` the value of the variable is the number equivalent of the month for the current date. The expression must be a valid expression that uses the [!INCLUDE[ssIS](../includes/ssis-md.md)] expression grammar syntax. When an expression is used with variables, the expression can use literals and the operators and functions that the expression grammar provides, but the expression cannot reference the columns from a data flow in the package. The maximum length of an expression is 4000 characters. For more information, see [Integration Services (SSIS) Expressions](../integration-services/expressions/integration-services-ssis-expressions.md).
JSON is a popular textual data format used for exchanging data in modern web and mobile applications. JSON is also used for storing unstructured data in log files or NoSQL databases like Microsoft Azure Cosmos DB. Many REST web services return results formatted as JSON text or accept data formatted as JSON. For example, most Azure services such as Azure Search, Azure Storage, and Azure Cosmos DB have REST endpoints that return or consume JSON. JSON is also the main format for exchanging data between web pages and web servers using AJAX calls.
Copy file name to clipboardExpand all lines: docs/relational-databases/sqlxml-annotated-xsd-schemas-xpath-queries/bulk-load-xml/guidelines-and-limitations-of-xml-bulk-load-sqlxml-4-0.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
@@ -168,7 +168,7 @@ ms.workload: "Inactive"
168
168
169
169
- SchemaGen only provides basic functionality for generating the relational schema from annotated XSD. The user should modify the generated tables manually, if needed.
170
170
171
-
- Where more than relationship exists between tables,SchemaGen tries to create a single relationship that includes all the keys involved between the two tables. This limitation might be the cause of a [!INCLUDE[tsql](../../../includes/tsql-md.md)] error.
171
+
- Where more than one relationship exists between tables,SchemaGen tries to create a single relationship that includes all the keys involved between the two tables. This limitation might be the cause of a [!INCLUDE[tsql](../../../includes/tsql-md.md)] error.
172
172
173
173
- When you are bulk loading XML data into a database, there must be at least one attribute or child element in the mapping schema that is mapped to a database column.
Copy file name to clipboardExpand all lines: docs/reporting-services/tools/rsconfig-utility-ssrs.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ rsconfig {-?}
55
55
|**-e**|Required if **-c** argument is not used.|Specifies the unattended report execution account.<br /><br /> This argument does not take a value. However, you must include additional arguments on the command line to specify that values that are encrypted in the configuration file.<br /><br /> Arguments that you can specify with **-e** include **-u** and **-p**. You can also set **-t**.|
56
56
|**-m***computername*|Required if you are configuring a remote report server instance.|Specifies the name of the computer that is hosting the report server. If this argument is omitted, the default is **localhost**.|
57
57
|**-s***servername*|Required.|Specifies the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance that hosts the report server database.|
58
-
|**-i***instancename*|Required if you are using named instances.|If you used a named [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance to host the report server database, this value specifies the named instance.|
58
+
|**-i***instancename*|Required if you are using named instances.|If you used a named Reporting Services instance, this value specifies the name of the Reporting Services instance.|
59
59
|**-d***databasename*|Required.|Specifies the name of the report server database.|
60
60
|**-a***authmethod*|Required.|Specifies the authentication method that the report server uses to connect to the report server database. Valid values are **Windows** or **SQL** (this argument is not case-sensitive).<br /><br /> **Windows** specifies that the report server use Windows Authentication.<br /><br /> **SQL** specifies that the report server use SQL Server Authentication.|
61
61
|**-u***[domain\\]username*|Required with **-e** Optional with **-c**.|Specifies a user account for the report server database connection or for the unattended account.<br /><br /> For **rsconfig -e**, this argument is required. It must be a domain user account.<br /><br /> For **rsconfig -c** and **-a SQL**, this argument must specify a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] login.<br /><br /> For **rsconfig -c** and **-a Windows**, this argument may specify a domain user, a built-in account, or service account credentials. If you are specifying a domain account, specify *domain* and *username* in the format *domain\username*. If you are using a built-in account, this argument is optional. If you want to use service account credentials, omit this argument.|
@@ -75,9 +75,9 @@ rsconfig {-?}
75
75
76
76
- To configure a special account that the report server uses to log on to a remote database server when other credentials are not available.
77
77
78
-
You can run the**rsconfig** utility on a local or remote instance of [!INCLUDE[ssRSnoversion](../../includes/ssrsnoversion-md.md)]. You cannot use the **rsconfig** utility to decrypt and view values that are already set.
78
+
You can run the**rsconfig** utility on a local or remote instance of [!INCLUDE[ssRSnoversion](../../includes/ssrsnoversion-md.md)]. You cannot use the **rsconfig** utility to decrypt and view values that are already set.
79
79
80
-
Before you can run this utility, Windows Management Instrumentation (WMI) must be installed on the computer that you are configuring.
80
+
Before you can run this utility, Windows Management Instrumentation (WMI) must be installed on the computer that you are configuring.
81
81
82
82
## Examples
83
83
The following examples illustrate ways of using **rsconfig**.
Copy file name to clipboardExpand all lines: docs/t-sql/language-elements/null-and-unknown-transact-sql.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,23 +36,23 @@ ms.workload: "On Demand"
36
36
37
37
- Null values cannot be used as information that is required to distinguish one row in a table from another row in a table, such as primary keys, or for information used to distribute rows, such as distribution keys.
38
38
39
-
When null values are present in data, logical and comparison operators can potentially return a third result of UNKNOWN instead of just TRUE or FALSE. This need for three-valued logic is a source of many application errors. These tables outline the effect of introducing null comparisons.
39
+
When null values are present in data, logical and comparison operators can potentially return a third result of UNKNOWN instead of just TRUE or FALSE. This need for three-valued logic is a source of many application errors. Logical operators in a boolean expression that includes UNKNOWNs will return UNKNOWN unless the result of the operator does not depend on the UNKNOWN expression. These tables provide examples of this behavior.
40
40
41
-
The following table shows the results of applying an AND operator to two Boolean operands where one operand returns NULL.
41
+
The following table shows the results of applying an AND operator to two Boolean expressions where one expression returns UNKNOWN.
42
42
43
-
|Operand 1|Operand 2|Result|
43
+
|Expression 1|Expression 2|Result|
44
44
|---------------|---------------|------------|
45
-
|TRUE|NULL|FALSE|
46
-
|NULL|NULL|FALSE|
47
-
|FALSE|NULL|FALSE|
45
+
|TRUE|UNKNOWN|UNKNOWN|
46
+
|UNKNOWN|UNKNOWN|UNKNOWN|
47
+
|FALSE|UNKNOWN|FALSE|
48
48
49
-
The following table shows the results of applying an OR operator to two Boolean operands where one operand returns NULL.
49
+
The following table shows the results of applying an OR operator to two Boolean expressions where one expression returns UNKNOWN.
0 commit comments