PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

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
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com