Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^6: Connecting to sqlserver2008 - DBD::Sybase connectivity and unixODBC issue

by venu_hs (Novice)
on Feb 12, 2013 at 15:28 UTC ( #1018390=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Connecting to sqlserver2008 - DBD::Sybase connectivity and unixODBC issue
in thread Connecting to sqlserver2008 - DBD::Sybase connectivity and unixODBC issue

We are trying for all the possibilities for connectivity. Could you please give me any info regarding sybase interfaces file.... Also any links regarding the steps to be followed for achieving sql server connectivty from Perl. Thank you very much!!


Comment on Re^6: Connecting to sqlserver2008 - DBD::Sybase connectivity and unixODBC issue
Re^7: Connecting to sqlserver2008 - DBD::Sybase connectivity and unixODBC issue
by mje (Curate) on Feb 12, 2013 at 15:47 UTC

    As I explained before, I don't use DBD::Sybase and the comment about the interfaces file was if you were connecting to Sybase - which I see you are not right now.

    You have completed all the steps I know about to connect to MS SQL Server as far as ODBC is concerned - the problem is your ODBC driver now. I've never used that ODBC driver and I believe the error is from the driver. The MS SQL Server ODBC driver I use is a commercial one my company sells.

      Hi Monks,

      First i tried to check the connectivity from isql. I got the below error.

      IM004unixODBCDriver ManagerDriver's SQLAllocHandle on SQL_HANDLE_HENV failed ISQLERROR: Could not SQLConnect

      Any help on this please...

      Thanks

        I think this usually happens because the driver requires some environment variable to be set before connecting e.g., DB2 likes DB2INSTANCE setting. Perhaps there is something similar with the Sybase driver.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-10-23 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (123 votes), past polls