Dear kara,

I am sorry for not specifying it clearly last time. SQL_EXTENSION_NAME is
specifically for our database, DBMaker.

We are developers for this database and we have also have developed php
driver for our database. Because of some specific features of our database,
we really need to let users who use our database be able to set this
kind of options. Unfortunately, ODBC 2.x does not allow setting attributes
with string-type values.

Since the ODBC version currently used in php is, as you can see from the
source code, 2.x. We really cannot use SQLSetStmtAttr() provided by

We didn't use HAVE_DBMAKER ifdefs because we think other databases
might be glad to see this, too.

>ID: 9397
>Updated by: kara
>Old-Status: Open
>Status: Feedback
>Bug Type: ODBC related
>Assigned To:
>In ODBC 2.x it is not possible to pass string values to
>SQLSetStmtOption(). It is possible with ODBC 3,
>SQLSetStmtAttr() has an additional parameter to specify the
>string length.
>By the way: I couldn't find SQL_EXTENSION_NAME as possible
>attribute to SQLSetStmtAttr(). What's it's pupose?

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to