Client APIs
API Reference Overview
> **Deprecated.  ** This method has been deprecated. Use duckdb_value_string instead. This function does not work correctly if the string contains null
bytes.  
###### Return Value {#docs:api:c:api::return-value}  
The text value at the specified location as a null-terminated string, or nullptr if the value cannot be
converted. The result must be freed with `duckdb_free`.  
###### Syntax {#docs:api:c:api::syntax}  
```c
char *duckdb_value_varchar(
duckdb_result *result,
idx_t col,
idx_t row
);
```  
<br>