Tim Bunce wrote:
> I'd be very grateful if someone could send me the output of:
>
>   perl -MDBI::DBD::Metadata -e write_typeinfo_pm dbi:ODBC:dsnname
> user pass Oracle
>
> Where dsnname is an ODBC DSN that uses a recent (9.2 or at least 9.1)
> Oracle ODBC driver to talk to a similarly recent Oracle database
> server.

I might be missing something here, but DBI::DBD::Metadata from DBI 1.40
doesn't appear to have a write_typeinfo_pm sub. It's got write_typeinfo
though (line 308).

$ perl -MDBI::DBD::Metadata -e write_typeinfo_pm dbi:ODBC:web test test
Oracle

Undefined subroutine &DBI::DBD::Metadata::write_typeinfo_pm called at -e
line 1.


write_typeinfo works, but the parameters are in a different order, which had
me confused for a bit!

Output attached, command used was:

$ perl -MDBI::DBD::Metadata -e "DBI::DBD::Metadata::write_typeinfo
'Oracle','dbi:ODBC:web','test','test'" > TypeInfo.pm

$ perl -MDBI -e 'DBI->installed_versions'
  Perl            : 5.008001    (MSWin32-x86-multi-thread)
  OS              : MSWin32     (4.0)
  DBI             : 1.40
  DBD::Sponge     : 11.10
  DBD::Proxy      : install_driver(Proxy) failed: Can't locate
RPC/PlClient.pm in @INC
  DBD::Oracle     : 1.14
  DBD::ODBC       : 1.06
  DBD::ExampleP   : 11.12

-- 
Andy Hassall <[EMAIL PROTECTED]> / Space: disk usage analysis tool
<http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>

Attachment: TypeInfo.pm
Description: Binary data

Reply via email to