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/relational-databases/native-client-odbc-api/odbc-api-implementation-details.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,6 @@ The [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Native Client ODB
24
24
25
25
The [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Native Client ODBC driver complies with the ODBC 3.51 specification. For full reference material, download the Microsoft Data Access Components SDK from the [Data Access and Storage Developer Center](https://go.microsoft.com/fwlink?linkid=4173) or view the [ODBC Programmer's Reference](../../odbc/reference/odbc-programmer-s-reference.md).
26
26
27
-
---
28
-
29
27
## How the ODBC API works
30
28
31
29
ODBC provides a standardized interface between applications and database drivers. When your application calls an ODBC function, the call passes through several layers before reaching the data source. Understanding this architecture helps you write more efficient code and troubleshoot connectivity problems.
@@ -79,11 +77,9 @@ Use Unicode APIs for modern applications.
79
77
### Threading and pooling
80
78
81
79
- Thread safety depends on how the application configures the driver and Driver Manager.
82
-
- You can enable connection pooling at either level to reduce connection overhead.
83
-
84
-
---
80
+
- To reduce connection overhead, enable connection pooling at either level.
85
81
86
-
# ODBC API reference (table layout)
82
+
##ODBC API reference (table layout)
87
83
88
84
The following table lists the available ODBC API functions documented for the SQL Server Native Client driver. Each entry links to its corresponding detailed reference page.
89
85
@@ -140,8 +136,6 @@ The following table lists the available ODBC API functions documented for the SQ
Copy file name to clipboardExpand all lines: docs/relational-databases/native-client-odbc-table-valued-parameters/odbc-table-valued-parameter-api-summary.md
+5-17Lines changed: 5 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,7 @@ helpviewer_keywords:
19
19
ODBC supports table-valued parameters (TVPs) through enhancements to several existing API functions. These functions work together to describe TVP schemas, bind and transmit row sets, fetch metadata, and manage descriptor records.
20
20
The following sections organize the relevant ODBC functions into logical groups to help you understand how each part of the TVP pipeline operates.
21
21
22
-
---
23
-
24
-
# TVP schema discovery and metadata functions
22
+
## TVP schema discovery and metadata functions
25
23
26
24
These functions help an application discover the structure of table-valued parameters, including column metadata, parameter definitions, and available SQL data types.
27
25
@@ -34,9 +32,7 @@ These functions help an application discover the structure of table-valued param
34
32
|[SQLProcedureColumns](../../relational-databases/native-client-odbc-api/sqlprocedurecolumns.md)| Retrieves metadata for TVP-related stored procedure parameters. |
35
33
|[SQLTables](../../relational-databases/native-client-odbc-api/sqltables.md)| Lists tables and table types available as sources for TVP declarations. |
36
34
37
-
---
38
-
39
-
# TVP parameter binding and data transmission
35
+
## TVP parameter binding and data transmission
40
36
41
37
These functions handle binding structured data to parameters, passing the data to the server, or streaming rows during execution.
42
38
@@ -46,9 +42,7 @@ These functions handle binding structured data to parameters, passing the data t
46
42
|[SQLParamData](../../relational-databases/native-client-odbc-api/sqlparamdata.md)| Retrieves the next part of a streamed TVP parameter when using data-at-execution. |
47
43
|[SQLPutData](../../relational-databases/native-client-odbc-api/sqlputdata.md)| Sends TVP data in chunks during data-at-execution operations. |
48
44
49
-
---
50
-
51
-
# Statement execution for TVPs
45
+
## Statement execution for TVPs
52
46
53
47
These functions execute SQL statements that reference TVPs and manage the execution lifecycle.
54
48
@@ -57,9 +51,7 @@ These functions execute SQL statements that reference TVPs and manage the execut
57
51
|[SQLExecDirect](../../relational-databases/native-client-odbc-api/sqlexecdirect.md)| Executes a SQL statement that uses TVPs without preparing it first. |
58
52
|[SQLExecute](../../relational-databases/native-client-odbc-api/sqlexecute.md)| Executes a previously prepared SQL statement that includes TVP parameters. |
59
53
60
-
---
61
-
62
-
# Descriptor and attribute management for TVPs
54
+
## Descriptor and attribute management for TVPs
63
55
64
56
Use these functions to manage descriptor fields and statement attributes required to describe rowsets and structured parameters correctly.
65
57
@@ -72,18 +64,14 @@ Use these functions to manage descriptor fields and statement attributes require
|[SQLSetStmtAttr](../../relational-databases/native-client-odbc-api/sqlsetstmtattr.md)| Sets statement attributes such as rowset sizes or streaming flags for TVP operations. |
74
66
75
-
---
76
-
77
-
# Diagnostics and error handling for TVPs
67
+
## Diagnostics and error handling for TVPs
78
68
79
69
Use these functions to help your applications detect errors, warnings, or status messages during TVP binding and execution.
80
70
81
71
| Function | Purpose |
82
72
|----------|---------|
83
73
|[SQLGetDiagField](../../relational-databases/native-client-odbc-api/sqlgetdiagfield.md)| Retrieves diagnostic information generated during TVP processing. |
0 commit comments