Skip to content

Commit 321f4b7

Browse files
Merge pull request #36641 from shi0809/dev/shiwanigupta/vectorUpdate
Clarify ColumnSize and DecimalDigits usage in SQLBindParameter for vector data type
2 parents 8726d2f + 425bef1 commit 321f4b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/connect/odbc/vector-data-type.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ Use `SQLBindParameter` to send vector values to SQL Server.
289289
```
290290

291291
- `ParameterValuePtr`: points to a populated `SQL_SS_VECTOR_STRUCT`
292-
- `ColumnSize`: ignored for vector data
293-
- `DecimalDigits`: ignored for vector data
292+
- `ColumnSize`: ignored for input parameters. For output parameters and data-at-execution scenarios, specify the total vector size: `sizeof(SQL_SS_VECTOR_STRUCT)` + (**float** array size)
293+
- `DecimalDigits`: ignored for input parameters. For output parameters and data-at-execution scenarios, specify the vector base type
294294
- `BufferLength`: ≥ `sizeof(SQL_SS_VECTOR_STRUCT)` + (dimension * `sizeof(float)`)
295295
- `*StrLen_or_IndPtr`: must contain the same total size
296296

0 commit comments

Comments
 (0)