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