Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
using active perl 5.8 and windows sql server 2000 executing sql statement which has complex sub queries using perl DBI DBD::ODBC get below error
DBD::ODBC::st execute failed: [Microsoft][ODBC SQL Server Driver][SQL +Server]Internal Query Processor Error: The query processor ran out of stack space during query optimization. +(SQL-42000)(DBD: st_execute/SQLExecute err=-1)
the same sql statement gets executed successfully in sql server query analyzer or through asp page using adodb
$sth=$dbh->prepare($sqlarr[2]); $sth->execute($reportstartdt,$reportenddt);
after sth execute get error
i am unable to understand whether problem is in perl or in sql server
any help or pointers for resolution will be helpful
thanks in advance
krishna
Code tags and formatting to match original input added by davido.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl DBI error
by gellyfish (Monsignor) on Apr 05, 2005 at 16:28 UTC | |
|
Re: perl DBI error
by RazorbladeBidet (Friar) on Apr 05, 2005 at 16:13 UTC | |
|
Re: perl DBI error
by cog (Parson) on Apr 06, 2005 at 10:29 UTC |