Re: CTLib and DBLib on MSSQL

"Thompson, William" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <55198BE54F002144AECD1A4556A14695039B8F65@smtp_mail.bankofamerica.com>
Don't apologise Mahendra!

So the Sybase::CTlib and Sybase::DBLib modules are part of sybperl:

http://www.peppler.org/freeware/sybperl.html

So Sybperl would normally be built on top of the Sybase open client libraries, but the freetds equivalents can be substituted instead. So yes, you would have to rebuild or re-install sybperl, and make sure that when you do so, that it picks up the freetds libraries instead of Sybase's. In our user guide we show how that can be done to build DBD::Sybase (another Sybase module for perl). I daresay there will be something similar for sybperl.

I hope this helps better...

Bill


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mahendra Tallapalem
Sent: 27 June 2011 14:34
To: FreeTDS Development Group
Subject: Re: [freetds] CTLib and DBLib on MSSQL


Thanks and sorry Bill, I should have been more clear.
The existing perl scripts used sybase::ctlib to talk to sybase. As the
databases are migrated to SQL Server, I was suggested to use freetds to talk
to sql server databases.
I have the freetds working(i can connect to sql server with tsql), but just
wondering whether i need to install the sybase::ctlib on my new server
inorder to make my perl scripts work as they were working on sybase.
On 27 Jun 2011 14:20, "Thompson, William" <[email protected]> wrote:
> Hi & Welcome,
>
> Freetds provides a vendor compatible installation of the db-library and
ct-library API's which will work against both Sybase & MSSQL. If this is
what you mean by the CTLib & DBLib modules, then yes, they come with
FreeTDS.
>
> Once you've got freetds installed and working, see the user guide for how
to plug it into perl:
>
> http://www.freetds.org/userguide/perl.htm
>
> Hope this helps,
>
> Bill
>
>
> -----Original Message-----
> From: [email protected] [mailto:
[email protected]] On Behalf Of Mahendra Tallapalem
> Sent: 27 June 2011 14:13
> To: FreeTDS Development Group
> Subject: [freetds] CTLib and DBLib on MSSQL
>
>
> Hi,
> I have some perl programs that were connecting to Sybase, but these Sybase
> databases have been migrated to SQL Server.
> I need to build the perl scripts on a new server and should connect to SQL
> Server. I'm planning to use freetds for this.
> Do I need to install the CTLib and DBLib modules on my new server along
with
> freetds? Are these modules not part of freetds installation?
> Please suggest.
>
> Thanks,
> Mahendra
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
> ----------------------------------------------------------------------
> This message w/attachments (message) is intended solely for the use of the
intended recipient(s) and may contain information that is privileged,
confidential or proprietary. If you are not an intended recipient, please
notify the sender, and then please delete and destroy all copies and
attachments, and be advised that any review or dissemination of, or the
taking of any action in reliance on, the information contained in or
attached to this message is prohibited.
> Unless specifically indicated, this message is not an offer to sell or a
solicitation of any investment products or other financial product or
service, an official confirmation of any transaction, or an official
statement of Sender. Subject to applicable law, Sender may intercept,
monitor, review and retain e-communications (EC) traveling through its
networks/systems and may produce any such EC to regulators, law enforcement,
in litigation and as required by law.
> The laws of the country of each sender/recipient may impact the handling
of EC, and EC may be archived, supervised and produced in countries other
than the country in which you are located. This message cannot be guaranteed
to be secure or free of errors or viruses.
>
> References to "Sender" are references to any subsidiary of Bank of America
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a
Condition to Any Banking Service or Activity * Are Not Insured by Any
Federal Government Agency. Attachments that are part of this EC may have
additional important disclosures and disclaimers, which you should read.
This message is subject to terms available at the following link:
> http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you
consent to the foregoing.
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds

----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. 
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. 
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. 

References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: 
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.