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

Reply via email to