Skip to content

Commit dd279b2

Browse files
authored
Merge pull request MicrosoftDocs#2465 from MicrosoftDocs/master
7/13 PM Publish
2 parents 7335fae + 0d6fb40 commit dd279b2

11 files changed

+432
-45
lines changed

.openpublishing.redirection.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,12 @@
19061906
"redirect_document_id": false
19071907
},
19081908
{
1909-
"source_path": "docs/sql/sql-hub-menu.md",
1909+
"source_path": "docs/sql-hub-menu.md",
1910+
"redirect_url": "/sql/index",
1911+
"redirect_document_id": false
1912+
},
1913+
{
1914+
"source_path": "docs/microsoft-sql-documentation-table-of-contents.md",
19101915
"redirect_url": "/sql/index",
19111916
"redirect_document_id": false
19121917
},
@@ -1921,7 +1926,7 @@
19211926
"redirect_document_id": false
19221927
},
19231928
{
1924-
"source_path": "docs/sql/microsoft-sql-documentation-table-of-contents.md",
1929+
"source_path": "docs/whitepapers/microsoft-white-papers.md",
19251930
"redirect_url": "/sql/index",
19261931
"redirect_document_id": false
19271932
}

docs/odbc/reference/appendixes/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# [Block Cursors, Scrollable Cursors, and Backward Compatibility](block-cursors-scrollable-cursors-and-backward-compatibility.md)
1515
# [Bookmark C Data Type](bookmark-c-data-type.md)
1616
# [C Data Types](c-data-types.md)
17+
## [Retrieve numeric data with SQL_NUMERIC_STRUCT in C](retrieve-numeric-data-sql-numeric-struct-kb222831.md)
1718
# [C Interval Structure](c-interval-structure.md)
1819

1920
# [Converting Data from C to SQL Data Types](converting-data-from-c-to-sql-data-types.md)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "C Data Types | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "01/19/2017"
4+
ms.date: "07/12/2017"
55
ms.prod: "sql-non-specified"
66
ms.reviewer: ""
77
ms.suite: ""
@@ -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).
138+
For more information about **SQL_NUMERIC_STRUCT**, see [HOWTO: Retrieving Numeric Data with SQL_NUMERIC_STRUCT](retrieve-numeric-data-sql-numeric-struct-kb222831.md).
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

0 commit comments

Comments
 (0)