If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > explain on not working

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-19-05, 18:16
LauraP97 LauraP97 is offline
Registered User
 
Join Date: Oct 2005
Posts: 4
explain on not working

Hello, I have used SET EXPLAIN ON before so I know how it is supposed to work, but at the new place I am working it does not work for me. I do not get any error message, but I get no results, no output file, nothing. I've tried it via isql, dbaccess and 4gl program with the same results: nothing. This is on HPUX and it isn't a unix file permissions problem. Already checked that out. My DBA has no clue and ISNT HELPING! Anyone have any suggestions what is wrong? I'd really appreciate it!

thanks
Reply With Quote
  #2 (permalink)  
Old 10-20-05, 08:05
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,
Generally the file sqexplain is created in the board of directors where this or in the board of directors HOME of user.
What happend if you run this as Informix user ?

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 10-20-05, 12:27
LauraP97 LauraP97 is offline
Registered User
 
Join Date: Oct 2005
Posts: 4
Gustavo, thank you for your reply! Yes, SET EXPLAIN does work for my DBA as Informix user, but unfortunately I do not have DBA-type access to the database (and there is no way I will be getting it either). Is there a permission that he could give my database user account, that is less than full DBA permissions, but would allow me to run SET EXPLAIN?

thanks
Reply With Quote
  #4 (permalink)  
Old 10-20-05, 14:41
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
Make sure you are in the directory where you have write permision when you run a query with SET EXPLAIN ON
Reply With Quote
  #5 (permalink)  
Old 10-24-05, 21:01
LauraP97 LauraP97 is offline
Registered User
 
Join Date: Oct 2005
Posts: 4
Yes, just to close the books on this one, it did turn out to be a write permissions problem. The server was on a remote machine, and I had read, but not write, permission to my own home directory on the remote machine.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On