This actually depends on which type of sybase server you are trying to connect to. I know of the following 3 types:

  1. Sybase Adaptive Server Enterprise aka ASE (formerly known as Sybase SQL Server)
  2. iAnywhere SQL Anywhere aka ASA (formerly known as Adaptive Server Anywhere and way way back as Watcom SQL)
  3. Sybase IQ server


Most people on this site seem to be familiar ASE. This is the enterprise category server meant to handle really large databases. It has support for hot standby and load balancing, etc. It does need a trained DBA to maintain though. If that's the server you are trying to connect to follow the suggestions from mpeppler.

ASA is the smaller cousin. It is meant for slightly smaller databases. Its focus is to provide good performance out of the box and does not need a dba to maintain. Its great for mobile applications. If you are trying to connect to ASA, then Sybperl will not work. You have two options, get the ASA DBD driver from http://www.ianywhere.com at this page or use DBD::ODBC. I have used both with no problems.

IQ is meant for OLAP like stuff. I believe it uses ASA under the covers.


In reply to Re: Simpler way to connect to Sybase server by data64
in thread Simpler way to connect to Sybase server by dreman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.