http://www.perlmonks.org?node_id=144142


in reply to Add record in access table

When using DBD::ODBC you need to use ODBC Standard SQL. I have used this for accessing diffrent ODBC databases, and i believe the following will work (but it is untested) :
my $query = q! INSERT INTO logfile ("Date Send","Certificate file") VALUES ({d '2002-01-01'},'junk') !; # other code here
Sorry, but on my current machine i dont have the ability to test this code :/. Win32 Perl Programming : The Standard Extensions covers some of the ODBC specific SQL stuff.
from the frivolous to the serious

Replies are listed 'Best First'.
Re: Re: Add record in access table
by Anonymous Monk on Feb 08, 2002 at 17:52 UTC
    Thanks that worked. Appreciate it.