Skip to content

Commit f4503df

Browse files
authored
Merge pull request MicrosoftDocs#444 from JimVance/sql-20170125
Sql 20170125
2 parents 38fe211 + decf3df commit f4503df

17 files changed

Lines changed: 448 additions & 471 deletions

docs/ado/reference/ado-api/append-method-ado.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
---
2-
title: "Append Method (ADO) | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "01/19/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
7-
ms.tgt_pltfrm: ""
8-
ms.topic: "article"
9-
apitype: "COM"
10-
f1_keywords:
11-
- "_DynaCollection::Append"
12-
helpviewer_keywords:
13-
- "Append method [ADO]"
14-
ms.assetid: f8a9bbed-ba9c-4698-945d-317ad22d2e92
15-
caps.latest.revision: 18
16-
author: "MightyPen"
17-
ms.author: "annemill"
18-
manager: "sonalm"
19-
---
20-
# Append Method (ADO)
1+
---
2+
title: "Append Method (ADO) | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "01/19/2017"
5+
ms.reviewer: ""
6+
ms.suite: ""
7+
ms.tgt_pltfrm: ""
8+
ms.topic: "article"
9+
apitype: "COM"
10+
f1_keywords:
11+
- "_DynaCollection::Append"
12+
helpviewer_keywords:
13+
- "Append method [ADO]"
14+
ms.assetid: f8a9bbed-ba9c-4698-945d-317ad22d2e92
15+
caps.latest.revision: 18
16+
author: "MightyPen"
17+
ms.author: "annemill"
18+
manager: "sonalm"
19+
---
20+
# Append Method (ADO)
2121
Appends an object to a collection. If the collection is [Fields](../../../ado/reference/ado-api/fields-collection-ado.md), a new [Field](../../../ado/reference/ado-api/field-object.md) object can be created before it is appended to the collection.
2222

2323
## Syntax
@@ -82,9 +82,9 @@ fields.Append Name, Type, DefinedSize, Attrib, FieldValue
8282

8383
## Applies To
8484

85-
||||
86-
|-|-|-|
87-
|[Fields Collection (ADO)](../../../ado/reference/ado-api/fields-collection-ado.md)|[Parameters Collection (ADO)](../../../ado/reference/ado-api/parameters-collection-ado.md)||
85+
|||
86+
|-|-|
87+
|[Fields Collection (ADO)](../../../ado/reference/ado-api/fields-collection-ado.md)|[Parameters Collection (ADO)](../../../ado/reference/ado-api/parameters-collection-ado.md)|
8888

8989
## See Also
9090
[Append and CreateParameter Methods Example (VB)](../../../ado/reference/ado-api/append-and-createparameter-methods-example-vb.md)

docs/ado/reference/adox-api/attributes-property-adox.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ ms.author: "annemill"
2222
manager: "sonalm"
2323
---
2424
# Attributes Property (ADOX)
25-
Describes column characteristics.
26-
27-
## Settings and Return Values
28-
Sets or returns a **Long** value. The value specifies characteristics of the table that is represented by the [Column](../../../ado/reference/adox-api/column-object-adox.md) object. The value can be a combination of [ColumnAttributesEnum](../../../ado/reference/adox-api/columnattributesenum.md) constants. The default value is zero (**0**), which is neither **adColFixed** nor **adColNullable**.
29-
30-
## Applies To
31-
32-
|||
33-
|-|-|
34-
|[Column Object (ADOX)](../../../ado/reference/adox-api/column-object-adox.md)||
35-
36-
## See Also
25+
Describes column characteristics.
26+
27+
## Settings and Return Values
28+
Sets or returns a **Long** value. The value specifies characteristics of the table that is represented by the [Column](../../../ado/reference/adox-api/column-object-adox.md) object. The value can be a combination of [ColumnAttributesEnum](../../../ado/reference/adox-api/columnattributesenum.md) constants. The default value is zero (**0**), which is neither **adColFixed** nor **adColNullable**.
29+
30+
## Applies To
31+
32+
||
33+
|-|
34+
|[Column Object (ADOX)](../../../ado/reference/adox-api/column-object-adox.md)|
35+
36+
## See Also
3737
[Attributes Property Example (VB)](../../../ado/reference/adox-api/attributes-property-example-vb.md)

docs/connect/jdbc/using-basic-data-types.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
---
2-
title: "Using Basic Data Types | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "01/19/2017"
5-
ms.prod: "sql-non-specified"
6-
ms.reviewer: ""
7-
ms.suite: ""
8-
ms.technology:
9-
- "drivers"
10-
ms.tgt_pltfrm: ""
11-
ms.topic: "article"
12-
ms.assetid: d7044936-5b8c-4def-858c-28a11ef70a97
13-
caps.latest.revision: 73
14-
author: "MightyPen"
15-
ms.author: "genemi"
16-
manager: "jhubbard"
17-
---
18-
# Using Basic Data Types
19-
[!INCLUDE[Driver_JDBC_Download](../../includes/driver_jdbc_download.md)]
20-
1+
---
2+
title: "Using Basic Data Types | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "01/19/2017"
5+
ms.prod: "sql-non-specified"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.technology:
9+
- "drivers"
10+
ms.tgt_pltfrm: ""
11+
ms.topic: "article"
12+
ms.assetid: d7044936-5b8c-4def-858c-28a11ef70a97
13+
caps.latest.revision: 73
14+
author: "MightyPen"
15+
ms.author: "genemi"
16+
manager: "jhubbard"
17+
---
18+
# Using Basic Data Types
19+
[!INCLUDE[Driver_JDBC_Download](../../includes/driver_jdbc_download.md)]
20+
2121
The [!INCLUDE[jdbcNoVersion](../../includes/jdbcnoversion_md.md)] uses the JDBC basic data types to convert the [!INCLUDE[ssNoVersion](../../includes/ssnoversion_md.md)] data types to a format that can be understood by the Java programming language, and vice versa. The JDBC driver provides support for the JDBC 4.0 API, which includes the **SQLXML** data type, and National (Unicode) data types, such as **NCHAR**, **NVARCHAR**, **LONGNVARCHAR**, and **NCLOB**.
2222

2323
## Data Type Mappings
@@ -55,7 +55,6 @@ manager: "jhubbard"
5555
|uniqueidentifier|CHAR|String|
5656
|varbinary|VARBINARY|byte[]|
5757
|varbinary(max)|VARBINARY|byte[]|
58-
||||
5958
|varchar|VARCHAR|String|
6059
|varchar(max)|VARCHAR|String|
6160
|xml|LONGVARCHAR<br /><br /> LONGNVARCHAR (Java SE 6.0)|String<br /><br /> SQLXML|

docs/odbc/reference/appendixes/c-data-types.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
---
2-
title: "C Data Types | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "01/19/2017"
5-
ms.prod: "sql-non-specified"
6-
ms.reviewer: ""
7-
ms.suite: ""
8-
ms.technology:
9-
- "drivers"
10-
ms.tgt_pltfrm: ""
11-
ms.topic: "article"
12-
helpviewer_keywords:
13-
- "data types [ODBC], C data types"
14-
- "C data types [ODBC], about C data types"
15-
- "C data types [ODBC]"
16-
- "C buffers [ODBC]"
17-
ms.assetid: b681d260-3dbb-47df-a616-4910d727add7
18-
caps.latest.revision: 19
19-
author: "MightyPen"
20-
ms.author: "genemi"
21-
manager: "jhubbard"
22-
---
23-
# C Data Types
1+
---
2+
title: "C Data Types | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "01/19/2017"
5+
ms.prod: "sql-non-specified"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.technology:
9+
- "drivers"
10+
ms.tgt_pltfrm: ""
11+
ms.topic: "article"
12+
helpviewer_keywords:
13+
- "data types [ODBC], C data types"
14+
- "C data types [ODBC], about C data types"
15+
- "C data types [ODBC]"
16+
- "C buffers [ODBC]"
17+
ms.assetid: b681d260-3dbb-47df-a616-4910d727add7
18+
caps.latest.revision: 19
19+
author: "MightyPen"
20+
ms.author: "genemi"
21+
manager: "jhubbard"
22+
---
23+
# C Data Types
2424
ODBC C data types indicate the data type of C buffers used to store data in the application.
2525

2626
All drivers must support all C data types. This is required because all drivers must support all C types to which SQL types that they support can be converted, and all drivers support at least one character SQL type. Because the character SQL type can be converted to and from all C types, all drivers must support all C types.
@@ -135,7 +135,7 @@ struct tagSQLGUID {
135135

136136
[e] A number is stored in the *val* field of the SQL_NUMERIC_STRUCT structure as a scaled integer, in little endian mode (the leftmost byte being the least-significant byte). For example, the number 10.001 base 10, with a scale of 4, is scaled to an integer of 100010. Because this is 186AA in hexadecimal format, the value in SQL_NUMERIC_STRUCT would be "AA 86 01 00 00 ... 00", with the number of bytes defined by the SQL_MAX_NUMERIC_LEN **#define**.
137137

138-
For more information about **SQL_NUMERIC_STRUCT**, see [HOWTO: Retrieving Numeric Data with SQL_NUMERIC_STRUCT](http://go.microsoft.com/fwlink/?LinkId=147596) and [INF: How to Use SQL_C_NUMERIC Data Type with Numeric Data](http://go.microsoft.com/fwlink/?LinkId=147597).
138+
For more information about **SQL_NUMERIC_STRUCT**, see [HOWTO: Retrieving Numeric Data with SQL_NUMERIC_STRUCT](http://go.microsoft.com/fwlink/?LinkId=147596).
139139

140140
[f] The precision and scale fields of the SQL_C_NUMERIC data type areused for input from an application and for output from the driver to the application. When the driver writes a numeric value into the SQL_NUMERIC_STRUCT, it will use its own driver-specific default as the value for the *precision* field, and it will use the value in the SQL_DESC_SCALE field of the application descriptor (which defaults to 0) for the *scale* field. An application can provide its own values for precision and scale by setting the SQL_DESC_PRECISION and SQL_DESC_SCALE fields of the application descriptor.
141141

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

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
---
2-
title: "SQLGetFunctions Function | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "01/19/2017"
5-
ms.prod: "sql-non-specified"
6-
ms.reviewer: ""
7-
ms.suite: ""
8-
ms.technology:
9-
- "drivers"
10-
ms.tgt_pltfrm: ""
11-
ms.topic: "article"
12-
apiname:
13-
- "SQLGetFunctions"
14-
apilocation:
15-
- "sqlsrv32.dll"
16-
apitype: "dllExport"
17-
f1_keywords:
18-
- "SQLGetFunctions"
19-
helpviewer_keywords:
20-
- "SQLGetFunctions function [ODBC]"
21-
ms.assetid: 0451d2f9-0f4f-46ba-b252-670956a52183
22-
caps.latest.revision: 23
23-
author: "MightyPen"
24-
ms.author: "genemi"
25-
manager: "jhubbard"
26-
---
27-
# SQLGetFunctions Function
1+
---
2+
title: "SQLGetFunctions Function | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "01/19/2017"
5+
ms.prod: "sql-non-specified"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.technology:
9+
- "drivers"
10+
ms.tgt_pltfrm: ""
11+
ms.topic: "article"
12+
apiname:
13+
- "SQLGetFunctions"
14+
apilocation:
15+
- "sqlsrv32.dll"
16+
apitype: "dllExport"
17+
f1_keywords:
18+
- "SQLGetFunctions"
19+
helpviewer_keywords:
20+
- "SQLGetFunctions function [ODBC]"
21+
ms.assetid: 0451d2f9-0f4f-46ba-b252-670956a52183
22+
caps.latest.revision: 23
23+
author: "MightyPen"
24+
ms.author: "genemi"
25+
manager: "jhubbard"
26+
---
27+
# SQLGetFunctions Function
2828
**Conformance**
2929
Version Introduced: ODBC 1.0 Standards Compliance: ISO 92
3030

@@ -66,7 +66,7 @@ SQLRETURN SQLGetFunctions(
6666
When **SQLGetFunctions** returns SQL_ERROR or SQL_SUCCESS_WITH_INFO, an associated SQLSTATE value can be obtained by calling **SQLGetDiagRec** with a *HandleType* of SQL_HANDLE_DBC and a *Handle* of *ConnectionHandle*. The following table lists the SQLSTATE values commonly returned by **SQLGetFunctions** and explains each one in the context of this function; the notation "(DM)" precedes the descriptions of SQLSTATEs returned by the Driver Manager. The return code associated with each SQLSTATE value is SQL_ERROR, unless noted otherwise.
6767

6868
|SQLSTATE|Error|Description|
69-
|--------------|-----------|-----------------|
69+
|--------|-----|-----------|
7070
|01000|General warning|Driver-specific informational message. (Function returns SQL_SUCCESS_WITH_INFO.)|
7171
|08S01|Communication link failure|The communication link between the driver and the data source to which the driver was connected failed before the function completed processing.|
7272
|HY000|General error|An error occurred for which there was no specific SQLSTATE and for which no implementation-specific SQLSTATE was defined. The error message returned by **SQLGetDiagRec** in the *\*MessageText* buffer describes the error and its cause.|
@@ -130,9 +130,9 @@ SQLRETURN SQLGetFunctions(
130130

131131
The following is a list of valid values for *FunctionId* for functions introduced in ODBC 3.8 or later:
132132

133-
|||
134-
|-|-|
135-
|SQL_API_SQLCANCELHANDLE [2]||
133+
||
134+
|-|
135+
|SQL_API_SQLCANCELHANDLE [2]|
136136

137137
[2] **SQLCancelHandle** will be returned as supported only if the driver supports both **SQLCancel** and **SQLCancelHandle**. If **SQLCancel** is supported but **SQLCancelHandle** is not, the application can still call **SQLCancelHandle** on a statement handle, because it will be mapped to **SQLCancel**.
138138

docs/ssma/access/managing-passwords-accesstosql.md

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
---
2-
title: "Managing Passwords (AccessToSQL) | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "01/19/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
7-
ms.technology:
8-
- "sql-ssma"
9-
ms.tgt_pltfrm: ""
10-
ms.topic: "article"
11-
applies_to:
12-
- "Azure SQL Database"
13-
- "SQL Server"
14-
ms.assetid: b099d0f9-dd37-4c87-8b6f-ed0177881ea4
15-
caps.latest.revision: 13
16-
author: "sabotta"
17-
ms.author: "carlasab"
18-
manager: "lonnyb"
19-
---
20-
# Managing Passwords (AccessToSQL)
1+
---
2+
title: "Managing Passwords (AccessToSQL) | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "01/19/2017"
5+
ms.reviewer: ""
6+
ms.suite: ""
7+
ms.technology:
8+
- "sql-ssma"
9+
ms.tgt_pltfrm: ""
10+
ms.topic: "article"
11+
applies_to:
12+
- "Azure SQL Database"
13+
- "SQL Server"
14+
ms.assetid: b099d0f9-dd37-4c87-8b6f-ed0177881ea4
15+
caps.latest.revision: 13
16+
author: "sabotta"
17+
ms.author: "carlasab"
18+
manager: "lonnyb"
19+
---
20+
# Managing Passwords (AccessToSQL)
2121
This section is about securing database passwords and the procedure to import or export them across servers:
2222

2323
1. Securing Password
@@ -45,7 +45,7 @@ Specify a valid password using one of the following three methods:
4545

4646
The server definition ids and its corresponding encrypted passwords are stored in a file on the local machine
4747

48-
||
48+
|Examples:|
4949
|-|
5050
|**Example 1:**<br /><br />*Specify password*<br /><br />`C:\SSMA\SSMAforAccessConsole.EXE –securepassword –add all –s “ D:\Program Files\Microsoft SQL Server Migration Assistant for Access\Sample Console Scripts\AssessmentReportGenerationSample.xml” –v “D:\Program Files\Microsoft SQL Server Migration Assistant for Access\Sample Console Scripts\ VariableValueFileSample.xml”`<br /><br />`Enter password for server_id ‘XXX_1’: xxxxxxx`<br /><br />`Re-enter password for server_id ‘XXX_1’: xxxxxxx`|
5151
|**Example 2:**<br /><br />`C:\SSMA\SSMAforAccessConsole.EXE –securepassword –add “source_1,target_1” –c “D:\Program Files\Microsoft SQL Server Migration Assistant for Access\Sample Console Scripts\ServersConnectionFileSample.xml” – v “D:\Program Files\Microsoft SQL Server Migration Assistant for Access\Sample Console Scripts\ VariableValueFileSample.xml” -o`<br /><br />`Enter password for server_id ‘source_1’: xxxxxxx`<br /><br />`Re-enter password for server_id ‘source_1’: xxxxxxx`<br /><br />`Enter password for server_id ‘target_1’: xxxxxxx`<br /><br />`Re-enter password for server_id ‘target _1’: xxxxxxx`|
@@ -54,18 +54,16 @@ Specify a valid password using one of the following three methods:
5454

5555
Execute the `SSMAforAccessConsole.exe` with the`–securepassword` and `–remove` switch at command line passing the server ids, to remove the encrypted passwords from the protected storage file present on the local machine.
5656

57-
|||
58-
|-|-|
59-
|**Example:**||
57+
|Example:|
58+
|--------|
6059
|`C:\SSMA\SSMAforAccessConsole.EXE –securepassword –remove all`C:\SSMA\SSMAforAccessConsole.EXE –securepassword –remove “source_1,target_1”|
6160

6261
- **Listing Server Ids whose passwords are encrypted**
6362

6463
Execute the SSMAforAccessConsole.exe with the `–securepassword` and `–list` switch at command line to list all the server ids whose passwords have been encrypted.
6564

66-
|||
67-
|-|-|
68-
|**Example:**||
65+
|Example:|
66+
|--------|
6967
|`C:\SSMA\SSMAforAccessConsole.EXE –securepassword –list`|
7068

7169
> [!NOTE]
@@ -75,13 +73,13 @@ Specify a valid password using one of the following three methods:
7573
## Exporting or Importing Encrypted Passwords
7674
The SSMA Console application allows you to export encrypted database passwords present in a file on the local machine to a secured file and vice-versa. It helps in making the encrypted passwords machine independent. Export functionality reads the server id and password from the local protected storage and saves the information in an encrypted file. The user is prompted to enter the password for the secured file. Make sure the password entered is 8 character length or more. This secured file is portable across different machines. Import functionality reads the server id and password information from the secured file. The user is prompted to enter the password for the secured file and appends the information to the local protected storage.
7775

78-
||
79-
|-|
80-
|**Example:**<br /><br />*Export password*<br /><br />`Enter password for protecting the exported file C:\SSMA\SSMAforAccessConsole.EXE –securepassword –export all “machine1passwords.file”`<br /><br />`Enter password for protecting the exported file: xxxxxxxx`<br /><br />`Please confirm password: xxxxxxxx`<br /><br />`C:\SSMA\SSMAforAccessConsole.EXE –p –e “AccessDB_1_1,Sql_1” “machine2passwords.file”`<br /><br />`Enter password for protecting the exported file: xxxxxxxx`<br /><br />`Please confirm password: xxxxxxxx`|
76+
|Example:|
77+
|--------|
78+
|*Export password*<br /><br />`Enter password for protecting the exported file C:\SSMA\SSMAforAccessConsole.EXE –securepassword –export all “machine1passwords.file”`<br /><br />`Enter password for protecting the exported file: xxxxxxxx`<br /><br />`Please confirm password: xxxxxxxx`<br /><br />`C:\SSMA\SSMAforAccessConsole.EXE –p –e “AccessDB_1_1,Sql_1” “machine2passwords.file”`<br /><br />`Enter password for protecting the exported file: xxxxxxxx`<br /><br />`Please confirm password: xxxxxxxx`|
8179

82-
||
83-
|-|
84-
|**Example:**<br /><br />*Import an encrypted password*<br /><br />`Enter password for protecting the imported file C:\SSMA\SSMAforAccessConsole.EXE –securepassword –import all “machine1passwords.file”`<br /><br />`Enter password to import the servers from encrypted file: xxxxxxxx`<br /><br />`Please confirm password: xxxxxxxx`<br /><br />`C:\SSMA\SSMAforAccessConsole.EXE –p –i “AccessDB_1,Sql_1” “machine2passwords.file”`<br /><br />`Enter password to import the servers from encrypted file: xxxxxxxx`<br /><br />`Please confirm password: xxxxxxxx`|
80+
|Example:|
81+
|--------|
82+
|*Import an encrypted password*<br /><br />`Enter password for protecting the imported file C:\SSMA\SSMAforAccessConsole.EXE –securepassword –import all “machine1passwords.file”`<br /><br />`Enter password to import the servers from encrypted file: xxxxxxxx`<br /><br />`Please confirm password: xxxxxxxx`<br /><br />`C:\SSMA\SSMAforAccessConsole.EXE –p –i “AccessDB_1,Sql_1” “machine2passwords.file”`<br /><br />`Enter password to import the servers from encrypted file: xxxxxxxx`<br /><br />`Please confirm password: xxxxxxxx`|
8583

8684
## See Also
8785
[Executing the SSMA Console (Access)](http://msdn.microsoft.com/en-us/aa1bf665-8dc0-4259-b36f-46ae67197a43)

0 commit comments

Comments
 (0)