RE: [dbi] Prepared statement not a cursor specification
- From: martin.evans@xxxxxxxxxxxx (Martin J. Evans)
- Date: Sun, 30 Apr 2006 16:13:25 +0100 (BST)
Peter,
Sorry for seeing this late. It would appear SQLDescribeCol
(an ODBC API) failed when calling your driver. Your ODBC
driver needs to support SQLDescribeCol at least. It is almost
impossible to say why this failed without knowing the SQL you
were executing and the ODBC you are using.
However, 07005 says:
The statement associated with the StatementHandle did not return a result set.
There were no columns to describe.
so that would suggest you SQL is no a result-set generating statement
i.e. not a select statement.
Martin
--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com
On 19-Apr-2006 Loo, Peter # PHX wrote:
Hi All,.
Has anyone seen this error before and if so would you know the solution
to fixing it?
DBD::ODBC::st execute failed: [unixODBC]Prepared statement not a cursor
specification (SQL-07005)(DBD: describe/SQLDescribeCol err=-1)
I am trying to loop through the returned values of a select statement
and doing the updates accordingly.
Thanks.
Peter
- References:
- Prepared statement not a cursor specification
- From: Peter # PHX Loo
- Prepared statement not a cursor specification
- Prev by Date: Re: FWD: [dbi] pod patch for ParamArrays and now optional ArrayTupleStatus
- Previous by thread: Prepared statement not a cursor specification
- Next by thread: Re: DB2.pm for Perl 5.8 needed
- Index(es):
Relevant Pages
|