japhy has asked for the wisdom of the Perl Monks concerning the following question:
When I execute the query, I get DBD::ODBC::st execute failed: (Microsoft)(ODBC Microsoft Access Driver) Undefined function 'SortThis' in expression. (SQL-42000)(DBD: st_execute/SQLExecute err=-1). Does anyone know how to deal with this error? I need the Perl DBI to recognize the module and function defined within the Acacia database.my $dbh = DBI->connect("DBI:ODBC:Acacia"); my $media = $dbh->prepare(q{ select * from MEDIA order by SortThis(NAME) });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD::ODBC, Access DB, calling a VB function
by Grygonos (Chaplain) on Feb 19, 2004 at 19:02 UTC | |
|
Re: DBD::ODBC, Access DB, calling a VB function
by rchiav (Deacon) on Feb 19, 2004 at 18:03 UTC | |
by japhy (Canon) on Feb 19, 2004 at 18:30 UTC |