Thanks for your input. I'm using DBI::mysql at the moment. Ok, so I'll use ODBC, that should make things easier for end users. By the way end users will usually only have a shared hosting account. So installing extra features on the server isn't the way to go, i think that crosses out the FreeTDS option. So now it's really a case on syntax for the database calls. There are a lot of the because the program is rather large. Some of the calls are relational, with grouping and sorting, will it be a problem translating these? Do you know of a good reference that I could use to compaire the SQL syntax from MySQL to MSSQL through ODBC. I haven't worked with ODBC before, so I'm not sure on it's workings. My current thinking is that I'll write a routine that checks the SQL and makes any changes needed if using ODBC before the call. Will the syntax for getting returned data be the same? $sth->fetchrow_hashref, $sth->fetch(), $sth->bind_columns(undef,\$username), $sth->fetchrow_arrayref, etc? I guess I need a good code example for MSSQL through ODBC, do you know a good source for this?

2004-10-28 Edited by Arunbear: Changed title from 'Thanks', as per Monastery guidelines


In reply to Re: CGI MySQL script to ASP(perlscript) MSSQL by Anonymous Monk
in thread CGI MySQL script to ASP(perlscript) MSSQL by cosmicperl

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.