Skip to content

Commit 74f30cd

Browse files
author
Shiwani Gupta
committed
Clarify ColumnSize and DecimalDigits usage in SQLBindParameter for vector data type
1 parent 8f592ce commit 74f30cd

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 vector dimension
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)