Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to do a select in perl to grab some information from an access database. The select statement works great until I put the where part in.
The table consists of TableName, Field1, Field2, Field3, Field4, Field5.(generic names).
The select statement is SELECT Field1, Field2 FROM TableName WHERE Field3 = "fail".
The error i get is DBD::ODBC::st execute failed: MicrosoftODBC Microsoft Access Driver Too few parameters. Expected 1.
The table consists of TableName, Field1, Field2, Field3, Field4, Field5.(generic names).
The select statement is SELECT Field1, Field2 FROM TableName WHERE Field3 = "fail".
The error i get is DBD::ODBC::st execute failed: MicrosoftODBC Microsoft Access Driver Too few parameters. Expected 1.
Back to
Seekers of Perl Wisdom