Is there a way get the actual query that was excecuted

I have a large query with lots of <cfqueryparam 's
Is there a way get the actual query that was excecuted so I can debug it/ find out what the problem is, no sql error just logic error

Personally, I think the easiest way is to use the powerhouse combo of Firebug and ColdFire. (Sorry if you already know this) Firebug is a plugin for Firefox for debugging (great JavaScript debugger in it!). ColdFire is a ColdFusion debugger that hooks into Firebug.
Firebug: https://addons.mozilla.org/en-US/firefox/addon/1843
ColdFire: http://coldfire.riaforge.org/
There are a couple of steps to installing ColdFire on your server (in addition to the Firefox plugin) but it's just a matter of copying a CFM file into a particular folder on your server's CF install. Then you just select ColdFire as the debugging output option in the CF Administrator and you're good to go (the ColdFire zip archive has an install doc).
Once you're using it, ColdFire lets you see all your queries: the actual SQL, the execution time, whether or not it's cached, etc.
While there are other techniques for seeing your SQL, I've always found ColdFire to be the easiest to use.

Similar Messages

  • How to get the Actual Query of View Object

    Hi all,
    I have a standard. I need to modify the query of the VO attached to a picklist based on responsibility. I am able to achieve my requirement but it is getting reflected for all the responsibilities even though i extended the controller for a particular responsibility. I used setQuery() to change the query of my VO. When checking "About this page". The code i added also shown in the page. Now i want to get the actual query to the VO before the controller is extended so that i can set the modified query or actual query based on my responsibility. Kindly share your knowledge.
    Regards,
    Pradeep

    Hi,
    I guess following query will not work ,Why use 2 where clauses.
    SELECT * FROM (select NVL(VENUE_NAME,' ') "Venue",
    NVL(VENUE_CITY,' ') "City",
    NVL(COUNTRY_DESC,' ') "Country",
    EVENT_NUMBER
    From NS_EVENT_VENUE_DETAILS,NS_COUNTRY_MASTER WHERE COUNTRY_CODE = VENUE_COUNTRY) QRSLT WHERE (QRSLT.EVENT_NUMBER = 1539
    you can as following using bind variable.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcquerying.htm#CEGDGIJH

  • Is there any way to undelete an App that was deleted by accident, while at the same time keeping all the info that was in the App?

    Is there any way to undelete an App that was deleted by accident, without loosing all the information that was in the App?
    Any help would be greatly appreciated.
    Thanx P.

    Only if you have an iPhone backup from the time before you deleted the app. App data and settings are part of the backup, but iTunes replaces the existing backup with a new one when you sync. Only backups used to restore the phone will not be replaced and marked with a time stamp.
    If you included the iphone backup folder into your computer backup routine, you could restore the folder and use the iphone backup to restore your phone. But all data will be set back to theat point in time when the backup was taken.
    More info here: iPhone and iPod touch: About backups

  • HT4859 Is there a way to clear out data that was previously backed up on iCloud to make room ?

    Is there a way to clear out data that was previously backed up on iCloud to make room ?

    Welcome to the Apple Community.
    Settings > iCloud > storage & Backup > Manage...., swipe to delete.

  • TS3988 How do I get the email account that was in icloud?

    Hello, my manager handed me his phone off to resolve it and I restored and updated the iphone without knowing who was the account that was set up iCloud, and now I can not activate the phone. How do I get the email account that was in icloud that was configured on the phone? Starting email already know who is the account

    No one can give you that.  Ask your manager to contact the previous owner of the device.  They are the only one who can help you with this, either by providing the correct ID and password, or erasing the phone and removing it from their account as explained here: http://support.apple.com/kb/TS4515.

  • So, I've got formscentral and i have my responses, but is there a way i can view the actual form that was submited, i.e. I need the actual data to be in the forms format

    I've created a form for my club members to submit online. This works really great and I have all the data that I need in the excel sheet BUT I need to reprint the actual form that the members submitted. How do I do that?
    Regards

    Welcome to the world of digital media. Your can't really transfer it. I don't know what the rules are about transferring to your spouse but I do know that in some cases when you die, your heirs cannot inherit your digital media. This is why there is still an advantage to buying the CD since the usage rights belong to whomever holds the physical media.
    A possible workaround is to burn the songs to a music CD with yout account (tracks only without song titles) and then having your wife upload it as a regular music CD onto her account. It's been a while since i've done this so I'm not sure if it would work now.
    Please note that I'm not advocating copyright and/or TOS violations. I'm only suggesting ways to copy music for your own personal use which has traditonally been permitted. I only did this because I wanted to convert iTunes songs to mp3 files so I could burn them onto a data CD for use in my car. It would make sense that since married couples are a joint entity, this would be personal use.
    Also, I'm not a lawyer so don't take this as legal advice.

  • For installation using cloud and Download Now button on website, is there any way get the necessary files other than 1 at a time, which is taking more than 1 hour?

    Is there a faster way or a short-cut for doing the Adobe download from the web?

    HI there Phil9214
    Were you able to download the Acrobat installer that you needed? It is a large installer, and download times can vary based on your connection speed.
    Please let us know if you're still experiencing problems.
    Best,
    Sara

  • Is there a way to steady a clip that was shot unsteady

    I am trying to use a clip that someone shot. The clip is moving around quite a bit, is there a way to take the unsteadiness out of this clip? I thought about slowing it down, but I don't think I would like the looks of that? any suggestions?
    thanks
    ruez30

    Take a look at iStabilize.

  • How to get the vendor number that was created using xk01..?

    Suppose i am creating a vendor with all the information by using a bdc program.
    In the same program if i want to go to the XK02 of that particular vendor that was created recently....how it possible..?
    Means how to get that particular vendor number that was created recently...?

    Hi...
    You Can Get the Vendor number after Calling the Transaction 'XK01' as below.
    <b>Declare a table for Collecting messages :</b>
    DATA: T_MSG TYPE TABLE OF BDCMSGCOLL,
              WA_MSG TYPE  BDCMSGCOLL.
    <b>Then Call Transaction Statment:</b>
    CALL TRANSACTION 'XK01'
               USING T_BDCDATA
               MODE 'N'
               MESSAGES INTO t_msg.
    if sy-subrc = 0.
      READ TABLE T_MSG INTO WA_MSG WITH MSGTYP = 'S'.
                                                                    MSGID = 'F2'
                                                                    MSGNR =  '175'.
    <b>Note: Bcoz the XK01 will issue this message</b>
      if sy-subrc = 0.
      write: / WA_MSG-MSGV1.  "This will contrain Vendor Number
    endif.
    endif.
    And you can also Try the Other method i.e. after the Call transaction statement
    <b> GET PARAMETER ID 'LIF' field V_LIFNR.
      WRITE:/ V_LIFNR.</b>
    Reward if Helpful.

  • Is there a way to recover a file that was sent to trash

    I moved some files and then sent some files to trash, appently i sent to trash valuable to files. I went into time machine, and apparently my files have grown too large for my 3 terabit back up drive, and when i went in there was only one back up. it is dated at a period after i sent a file to trash but before i cleaned out the trash.
    I have been told that time machine does not back up trash so that is a dead end.
    My next thought was to consider looking at the file from where i the trashed files lived before i sent them to Trash. In my PC prior life there was an undelete function, i have been told by Apple support there is no similar function.
    Any ideas how i can recover 2,000 photos that i have been working on?

    If the files are in the Trash the locate them in Trash and right click them and select Put Back. If you haven't been backing up and you really did lose them then you are able to learn why backing up is vital. Time Machine does not backup the Trash however  you can easily use Time Machine to navigate to where the files where prior to being trashed and restore them. If you have Time Machine do that.
    BTW you may also benefit from using redundant backup. Many of us on these forums will use a redundant system. For example I use both Time Machine and on another external HD I create a bootable clone using SuperDuper. This is valuable because backups can fail too and Time Machine isn't bootable. Here are some additional strategies from a Mac World article Backup Plan I.

  • How can I see the actual FORM that was submitted?

    I need to see ALL data on the form after it's submitted to me.  NOT just the data filled out in the form.  I applied logic rules to certain JPEGs that should pop up upon correct anwser!  Can you please tell me how see ALL data?????
    Thanks!

    I may be mis-understanding what you are doing, but skip logic doesn't work differently for text/jpeg... 
    In your form, I was assuming the JPEG images were images that you added, and that they are only shown based on certain answers to other questions, is that correct?  If this is correct then it does not matter whether it is text or images, all questions and responses are shown in the PDF, the images would be shown, also any answers that exposed images to the user in the web form would show as answered and you would know what they had entered even though you'd see all of the images.
    Or, are you having users upload JPEG images using an "Attachment" field? 
    If the latter was the case, these are user supplied images, then the PDF Response would only show the file name, and not contain the image.  Is that what you are describing/seeing?
    Thanks,
    Josh

  • I pay a monthy fee for LR and PS...Do I have to wait until my year is up to get the new LR that was released today?

    Any insight?

    If you open the Cloud desktop app you can view your installed apps.  If the update is available (it should be) you'll see an update button/link on the right.  Just click on it start the update.

  • Get the last query from the current user

    Is there a way to get the last query of the current user, so every query could be log with a database trigger?
    Let's just say I execute:
    DELETE xxxx;
    I tried :
    SELECT T.SQL_TEXT FROM V$SQLAREA T where ADDRESS=(SELECT prev_sql_addr FROM v$session where audsid=userenv('sessionid'));
    But the result of this query is :
    'SELECT T.SQL_TEXT FROM V$SQLAREA T where ADDRESS=(SELECT prev_sql_addr FROM v$session where audsid=userenv('sessionid'))'
    Is there a way to execute a query that would return :
    'DELETE xxxx'
    Thanks

    You could join SQL_ADDR in v$session with ADDRESS in v$sqlarea to determine the SID that executed that SQL statement last. Note that PREV_SQL_ADDR in v$session will indicate the previous SQL he executed. Though you would have to look at these tables very often to get all SQL statements issued. One note here, I think if a different user ran the SAME SQL with just bind var differences the SQL_AREA will only show the last user’s information that executed it.
    BTW - it will show deletes also...

  • How can I get rid of text that was made in iMovie while in FCPX

    I imported a video from my imovie and am in the process of adding text in the frames, is there a way to get the old text that was embedded in the imovie, can it be cut or editied out of the frames, I don't see any options that allow you to select it and delete. I just don't want to have to go back and delete it out as I have already made some major improvements on the exsisiting project.
    Thanks,
    Bob

    Dude, the FCP-X forum is located here: https://discussions.apple.com/community/professional_applications/final_cut_pro_ x?view=discussions
    This is the Final Cut Studio forum.  There are no similarities between the two.
    -DH

  • Is there a way to get the actual XML string when using the JAXP SAX Parser?

    Hi All,
    I am using a JAXP SAX xml parser and am looking for a way to get the actual line of xml that is being parsed from within a content handler.
    Here's my scenario. Consider the following example xml document.
    <formCollection>
       <form name="myForm">
          <text/>
          <selection/>
       </form>
       <form name="anotherForm">
          <text/>
       </form>
    </formCollection>My hope is to validate the entire document and then insert an xml string containing each "form" element (and its sub-elements) into a map for later use. My thought was to create a String as each "form" element is being parsed (begining with the form's startElement event and concatenating until the form's endElement event is reached) and then inserting this string into the map. Is there a way to get the actual line of xml that is being parsed, rather than just the element name and attribute values?

    DrClap wrote:
    YouRang wrote:
    2. The first handler would validate the entire XML document, extract the "type" attribute from each <form> element, and place each <form> element and its sub-elements into the map of Strings, using the "type" attribute as the key. The second handler would take a <form> element and parse it into a Form object for the display. This option was the impetus for my question because it relies on the first handler being able to access the entire <form> element XML String and write it to a map.I don't see why you need the raw data from the XML document here. You should already be abstracting your data into Java classes in the first handler, instead of making the second handler do the parsing all over again.Correct, I am not referring to XForms. In this case, it happens that I am using the XML to generate an SWT ScrolledForm object and, thus, the XML element name happens to be named "form." However, the concept/design problem could apply to any type of object and the XML element could be appropriately renamed.
    My experience with XSLT is limited and I haven't done anything with it for several years. With that said, it seems that it is primarily used for generating web content, which wouldn't apply in this case because this is for a client-server application. I could be off base on this one -- if XSLT applies to much broader translations and would be more appropriate for generating Java objects than my current methodology, I could certainly look into it further.
    I apologize that option two didn't make more sense; it is difficult to explain. Yes, optimally the data should be abstracted into Java classes in the first handler. This is really an elaboration that I failed to specify when explaining option one. The problem is that the user can choose to create any number of "forms" of any type. For instance, let's say that from the File -> New menu there are options for seven different types of forms and each form is used to send completely different data. The user can select form1, select form1 again, select form4, and select form7 (or any other combination) and bring up tabs that display the different forms. The user can then enter data and submit each form separately. When the user selects File -> New -> FormX, a SWT ScrolledForm object that corresponds with FormX must be given to the display. Because SWT ScrolledForm objects do not allow a deep copy, I cannot simply read the XML <form> elements at initialization, parse them into ScrolledForm objects, and pass deep copies of the ScrolledForm objects to the display each time the user clicks File -> New -> FormX. The only simple way I see of getting a new copy of a ScrolledForm object is to reparse the appropriate XML <form> element in order to create one each time the user selects File -> New -> FormX. As such, one handler would need to read the entire XML document and parse the <form> elements into a map (or some other data structure) and another handler would need to parse individual <form> elements into SWT ScrolledForm objects. The first handler would be called at initialization and the second handler would be called each time a user clicked on File -> New -> FormX. Once again, this isn't exactly my favorite implementation... but seems the simplest given that there is no way to do a deep copy of an SWT ScrolledForm object. Hopefully that makes a little more sense. No worries if it doesn't -- I just figured I'd throw this out there and see if anyone had a better idea.

Maybe you are looking for