prakruthias has asked for the wisdom of the Perl Monks concerning the following question:
We have a requirement for the migration project from Sybase to mssql in Linux box which is RHEL
We have bunch of Perl programs which is connecting to Sybase and has to be migrated to MSSQL in the Linux box RHEL.
I see two option
1. Microsoft ODBC driver and DBD:ODBC cpan module along with unixODBC
DBI -> unixODBC -> DBD:ODBC & microsoft's ODBC DRIVER.
2. Using freetds and sybase's DBD::Sybase
My question is which option is more feasible considering my environment
***Is anyone here already done this and get successful
Please kindly help .
My research : I hardly seen people connecting to MSSQl using ODBC driver provided by MySQL ( guess it has been introduced recently)
But I was able to set it up using below link
https://github.com/pplu/perl-mssql-server/blob/master/connect.pl
And I see a comment in internet saying::
"Microsoft has a driver for Linux which can be used to connect via Linux. I had tried it and it worked like a charm. I was able to connect to SQL server using Microsoft binary. The real problem is that it cannot be used as Perl module to extend the usability via scripting"
https://www.slideshare.net/mobile/venkivoice/connect-sqlusingperlfromlinux
Im really confused which one to take and which one is feasible for our requirement.
2021-01-24 Athanasius added tags.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Sybase to MSSQl migration for Perl in Linux RHEL
by talexb (Canon) on Jan 18, 2021 at 02:51 UTC | |
Re: Sybase to MSSQl migration for Perl in Linux RHEL
by Tux (Abbot) on Jan 18, 2021 at 09:05 UTC | |
Re: Sybase to MSSQl migration for Perl in Linux RHEL
by LanX (Cardinal) on Jan 17, 2021 at 21:54 UTC | |
Re: Sybase to MSSQl migration for Perl in Linux RHEL
by betmatt (Scribe) on Jan 17, 2021 at 21:00 UTC | |
Re: Sybase to MSSQl migration for Perl in Linux RHEL
by Anonymous Monk on Jan 18, 2021 at 16:07 UTC | |
by talexb (Canon) on Jan 18, 2021 at 20:26 UTC | |
| |
A reply falls below the community's threshold of quality. You may see it by logging in. |