Thanks everyone for the quick responses regarding the SQL datetime field
I have a second problem, the code below works fine when used as a script but
when I compile it with perlapp, the DBI stuff no longer functions. Anybody
have any idea why?
Thanks again
Jason Weir
use DBI;
$dbh =
DBI->connect("dbi:Proxy:hostname=$Domain{DBProxy};port=$Domain{DBPort};dsn=d
bi:ODBC:$Domain{DB}", "$Domain{DBUser}", "$Domain{DBPasswd}") || return;
$sth = $dbh -> prepare ("INSERT INTO $Domain{DBTable} VALUES
('$DBDTG','$User','$Computer','$IP','$MAC','$SerialNumber')") || return;
$sth ->execute() || return;
$sth->finish();
$dbh->disconnect;
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs