Hi.

I've asked ChatGPT:

-----
The MariaDB ODBC driver currently does not fully support the
SQLDescribeParam function, which makes it difficult or impossible for
applications to retrieve parameter metadata (such as data types) for
prepared statements.

As a workaround, you can use the MySQL Connector/ODBC driver instead.
MariaDB is compatible enough with MySQL that the MySQL ODBC driver generally
works well when connecting to a MariaDB server. Importantly, it does provide
proper support for SQLDescribeParam, which helps in scenarios where
parameter metadata is required.

This approach has been successfully used by others when the lack of
SQLDescribeParam support in the MariaDB driver caused problems with certain
applications.
-----

ChatGPT does (really) make errors, so this should be taken with caution.

V.W.


Am Donnerstag, dem 03.07.2025 um 20:46 +0000 schrieb Lawrin Novitsky via
discuss:
> Hi,
> Is it really so? I wonder how can they provide better parameter metadata
> and even more wonder how can they provide is for MariaDB server. Quick
> googling gave me nothing new on that.
> 
> Best regards,
> Lawrin
> From: audimanualspro--- via discuss <[email protected]>
> Sent: Thursday, July 3, 2025 5:23 AM
> To: [email protected] <[email protected]>
> Subject: [MariaDB discuss] Re: ODBC driver and SQLDescribeParam()
>  
> This is a known limitation with the MariaDB ODBC driver — it doesn’t fully
> support SQLDescribeParam() and defaults to SQL_VARCHAR. Unfortunately,
> even in newer versions like 3.2.5, this behavior persists. You might need
> to work around it by inferring parameter types manually or switching to a
> driver with better metadata support like MySQL’s ODBC
> driver.https://audimanualspro.com/product/audi-a4/
> _______________________________________________
> discuss mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> _______________________________________________
> discuss mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

_______________________________________________
discuss mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to