I've been using DBI:Sybase and FreeTDS to access a Microsoft SQL 2000
server for SELECTs for a couple of months now. I now want to expand my
application to insert new rows into one of the MS SQL tables. When I
try to do this with prepare() and execute(), I get a 'Segmentation
fault'. If I change this to do() instead, I get:
ct_res_info() returned 0 columns at /Library/Perl/darwin/DBD/Sybase.pm
line 132.
dbih_setup_fbav: invalid number of fields: 0, NUM_OF_FIELDS attribute
probably not set right at /Library/Perl/darwin/DBD/Sybase.pm line 135.
I can wrap the do() statement in eval{} and get the error message to go
away, but then it's back to 'Segmentation fault'. And, in all 3 cases,
the row is successfully inserted into the table.
Has anyone else seen this? Is there a fix?
--
Don Rainwater, Technology Manager [EMAIL PROTECTED]
UCit Educational Services
University of Cincinnati