dbTalk Databases Forums  

set explain on

comp.databases.informix comp.databases.informix


Discuss set explain on in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
darryl2468
 
Posts: n/a

Default set explain on - 08-27-2003 , 12:30 PM







I am looking for a way to retrieve the "set explain on" results (usually
in sqexplain.out) without writing to the file. My sql statements are
executed via a cgi script and therefore, the user does not necessarily
have an account to write to.



Also, I have not been able to execute a prepared compound sql statment
that includes the "set explain on" statement followed by a select
statement. Any insights?

Ex: $sth = $dbh->prepare("set explain on;

select * from tablename where field < condition;

set explain off");

$sth->execute();


--
Posted via http://dbforums.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.