Steffen Goeldner wrote:
>
> I used the C header files (sql.h and sqlext.h) from the MDAC SDK 2.6:
Ok, thanks, I've got those header files and will use them. Silly of me
to assume that the docs would be useful :-(.
On another issue ... I have a bit of a complex situation with three
different DBDs taking most of their GetInfo information from
SQL::Statement and two radically different versions of SQL::Statement.
So this is how I have the namespace set up:
DBD::CSV::get_info() ------+ +-----> SQL::Statement::GetInfo.pm
| |
DBD::AnyData::get_info() --+----+
| |
DBD::Excel::get_info() ----+ +-----> SQL::Statement::GetInfo_XS.pm
I changed the hard-coded driver-specific information to subs (e.g.
changed $sql_driver_ver to \&sql_driver_ver) so I could get that info
from the DBDs without storing anything specific to a given DBD in the
GetInfo .pms. There will be no DBD::CSV::GetInfo.pm or
DBD::AnyData::GetInfo.pm.
What this means is that when I add support e.g. for column alias to
SQL::Statement and the user upgrades Statement but not their DBD, the
DBD's get_info() will show the correct value for column alias.
Does that all sound ok?
--
Jeff