Help for this page

Select Code to Download


  1. or download this
    my $ConnStr = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Se
    +curity Info=False;Data Source=hostname;Initial Catalog=Database;";
    
    my $AdoConn = new Win32::OLE("ADODB.Connection");
       $AdoConn->Open($ConnStr);
    
  2. or download this
    my $ConnStr = "Provider=SQLOLEDB.1;User Id=user; Password=password; Da
    +ta Source=hostname; Initial Catalog=Database;";