|
Does make test for DBD::ODBC complete successfully?
Could you produce the smallest script you can to demonstrate the problem e.g., a simple select on the a char and date column followed by a fetch. Then append to the top of the script:
use DBD::ODBC;
DBI->trace(DBD::ODBC->parse_trace_flags('odbcconnection|odbcunicode'));
and run it with DBI_TRACE set to 15 and mail me the output.
e.g.,
DBI_TRACE=15 perl your_test_script.pl
send me the script and output.
Also could you tell me what the actual column types are in your Sybase schema.
Also run the following (substituting for DSN, username and password) and send the output:
perl -MDBI -e '$h = DBI->connect("dbi:ODBC:MYDSN","USER","PASS");$x = $h->type_info_all;use Data::D
+umper;print Dumper($x);'
Martin |