Skip to content

Commit 425bef1

Browse files
author
Shiwani Gupta
committed
Update ColumnSize to specify total vector size instead of dimension
1 parent 74f30cd commit 425bef1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ 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 input parameters. For output parameters and data-at-execution scenarios, specify the vector dimension
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)
293293
- `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

0 commit comments

Comments
 (0)