DBI and DBD are really one in the same. They're also the de facto standard for Perl database interaction.

You probably want to look at DBI and DBD::ADO, as it works really well for Win32 connections. As a bonus, you won't have to install any Sybase open client stuff, either. You'll need some Win32 like Win32::OLE if you don't have them already.

If you're wanting to branch out under some *nix OS, I'd take a look at DBD::Sybase using FreeTDS. Keep in mind that FreeDTS and DBD::Sybase have some problems with placeholder values, so you'll probably have to change some of your statement parsing code. I don't really like the way that the Sybase client libraries work, but I've heard they work equally well.

As for special software, you'll need Perl, the modules that DBD::ADO requires (they're listed in the POD) and the correct ADO drivers for your platform (available from Microsoft). It's about the same as deploying any other Win32 database application, actually.

The only part that I don't really understand is the "adjustments needed" statement. Adjustments from what? Are you a DBA who's only ever used the SQL2000 admin interface? A seasoned Java programmer? An old hat at Visual Basic 5.0? An Access form tweaker? Each of these situations will probably impose different requirements, both in language and data access methodologies. If you care to elaborate a bit more for what you're looking for, I'll post a follow-up.

(EDIT: added the third paragraph because I didn't think I was sufficiently long-winded.)


In reply to Re: Perl connect to Microsoft SQL 2000 by tadamec
in thread Perl connect to Microsoft SQL 2000 by Anonymous Monk

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.