> From: "Moosmann, James" <[EMAIL PROTECTED]>
> Date: 2005/01/19 Wed AM 08:24:12 CST

> Does anyone know how to check/set this attribute using DBI so I don't have
> to instruct a user on changing his DSN? ( I don't see this option mentioned
> in DBD::ODBC )


Might I suggest using DSN-less connections, so that users don't have to worry 
about DSNs at all?

$ConnStr= 'dbi:ODBC:driver={SQL 
Server};Server='.$Server'.;database='.$database.';';
$dbh = DBI->connect( $ConnStr, $user, $pwd, {RaiseError => 1, AutoCommit => 1} 
);

> Thanks.
> James

HTH,
amonotod


--

    `\|||/         amonotod@    | sun|perl|windows
      (@@)         charter.net  | sysadmin|dba
  ooO_(_)_Ooo____________________________________
  _____|_____|_____|_____|_____|_____|_____|_____|

Reply via email to