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/ado/reference/ado-api/append-method-ado.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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)
21
21
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.
Copy file name to clipboardExpand all lines: docs/ado/reference/adox-api/attributes-property-adox.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,16 +22,16 @@ ms.author: "annemill"
22
22
manager: "sonalm"
23
23
---
24
24
# 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**.
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**.
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**.
22
22
23
23
## Data Type Mappings
@@ -55,7 +55,6 @@ manager: "jhubbard"
55
55
|uniqueidentifier|CHAR|String|
56
56
|varbinary|VARBINARY|byte[]|
57
57
|varbinary(max)|VARBINARY|byte[]|
58
-
||||
59
58
|varchar|VARCHAR|String|
60
59
|varchar(max)|VARCHAR|String|
61
60
|xml|LONGVARCHAR<br /><br /> LONGNVARCHAR (Java SE 6.0)|String<br /><br /> SQLXML|
Copy file name to clipboardExpand all lines: docs/odbc/reference/appendixes/c-data-types.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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
24
24
ODBC C data types indicate the data type of C buffers used to store data in the application.
25
25
26
26
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 {
135
135
136
136
[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**.
137
137
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).
139
139
140
140
[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.
Copy file name to clipboardExpand all lines: docs/odbc/reference/syntax/sqlgetfunctions-function.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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
28
28
**Conformance**
29
29
Version Introduced: ODBC 1.0 Standards Compliance: ISO 92
30
30
@@ -66,7 +66,7 @@ SQLRETURN SQLGetFunctions(
66
66
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.
|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.|
72
72
|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(
130
130
131
131
The following is a list of valid values for *FunctionId* for functions introduced in ODBC 3.8 or later:
132
132
133
-
|||
134
-
|-|-|
135
-
|SQL_API_SQLCANCELHANDLE [2]||
133
+
||
134
+
|-|
135
+
|SQL_API_SQLCANCELHANDLE [2]|
136
136
137
137
[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**.
Copy file name to clipboardExpand all lines: docs/ssma/access/managing-passwords-accesstosql.md
+31-33Lines changed: 31 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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)
21
21
This section is about securing database passwords and the procedure to import or export them across servers:
22
22
23
23
1. Securing Password
@@ -45,7 +45,7 @@ Specify a valid password using one of the following three methods:
45
45
46
46
The server definition ids and its corresponding encrypted passwords are stored in a file on the local machine
47
47
48
-
||
48
+
|Examples:|
49
49
|-|
50
50
|**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`|
51
51
|**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:
54
54
55
55
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.
-**Listing Server Ids whose passwords are encrypted**
63
62
64
63
Execute the SSMAforAccessConsole.exe with the `–securepassword` and `–list` switch at command line to list all the server ids whose passwords have been encrypted.
@@ -75,13 +73,13 @@ Specify a valid password using one of the following three methods:
75
73
## Exporting or Importing Encrypted Passwords
76
74
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.
77
75
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`|
81
79
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`|
85
83
86
84
## See Also
87
85
[Executing the SSMA Console (Access)](http://msdn.microsoft.com/en-us/aa1bf665-8dc0-4259-b36f-46ae67197a43)
0 commit comments