That's probably an old bug in DBD::ODBC, and I suspect you're using
version 0.28. If so, please upgrade. If not, please post more
specifics about your version.
Regards,
Jeff
>
>
> I'm trying to get a connect with SQL Server.
>
> I have this:
>
> $DSN = 'driver={SQL
> Server};Server=server_ip;uid=user_id;pwd=the_password;database
> =database_name';
>
> $db = DBI -> connect("dbi:ODBC:$DSN") || die "Cannot Connect:
> $DBI::errstr\n";
>
> This is what I get:
>
> Cannot Connect: [Microsoft][ODBC Driver Manager] Invalid
> string or buffer length (SQL-S1090)(DBD: db_login/SQLConnect err=-1)
>
> Now what?
>
> Jeff
>