Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Connect to MS SQL with Sybperl ?
Date: Dec 4 1998 3:54PM
Robert Bresner writes:
> I'm dreaming, aren't I? Can't be done, can it?
> When I take a simple empty database script which
> we use daily to clean out a Sybase database, and
> try using it on a MS SQL database, I get
> SYBASE ERROR: ( 20012 ) Unable to determine Net-Library error ( Sev: 2 )
> dblogin() failed at EmptyDB.pl line 87, chunk 5.
> So I'm wondering, is it possible to fool SybPerl to connect
> to mssql ?
Yes, for MS-SQL 6.5 and lower. For MS-SQL 7.0 I have heard that MS has
changed the protocol and that backwards compatibility is not
maintained, so the Sybase libs won't work anymore (although I don't
have any first hand experience of this...)
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com