Is there a way to output SQL being sent to database from cfm page?

I am getting a SQL Error (Incorrect sytax near ','), so I was wondering if there was a way to output the actual sql statement being sent?

You don't see stuff like this:
The error occurred in D:\DW\dwtest\Dan\abc.cfm: line 70
68 : <cf_testdb dsn="copathsq">
69 :
70 : <cfquery name="q1" datasource="copathsq" result="x">
71 : select 'test'
72 : from

Similar Messages

  • Is there any way to fetch second webpage url after navigating from one page to another on chrome browser?

                string sCurrentURL;
                string sExpectedURL="http://www.xyz.co/";
                BrowserWindow _bw = BrowserWindow.FromProcess(proc);              
        string sURL=UIMap.UIWindow.Uri.ToString();
                HtmlHyperlink objLogoLink = UIMap.UIWindow.UIDocument.UIHyperlink;          
    //Navigates to "http://www.xyz.co/" link after click on logo
                Mouse.Click(objLogoLink);            
                 Playback.PlaybackSettings.ShouldSearchFailFast = false;
    //At this line of code I am getting issue on chrome browser
                sCurrentURL = _bw.Uri.ToString(); 
                Assert.IsTrue(sCurrentURL.Equals(sLogoURL));
                _bw.NavigateToUrl(new Uri(sURL));
    After clicking the logo link of the page, it navigates to other url. I am successfully able to get the url for firefox and IE.  I am facing issuein chrome.
    Any suggestions?
                 

    Do you use this extension tool Selenium Components for Coded UI Cross Browser Testing?
    Yes I used this extension tool. I am using only BrowserWindow name as search property.
    Error : 
    stale element reference: element is not attached to the page document
      (Session info: chrome=41.0.2272.89)
      (Driver info: chromedriver=2.8.241075,platform=Windows NT 6.1 SP1 x86_64)
    I resolved this issue using separate BrowserWindow object for each page. But i am not able to understand why BrowserWindow _bw object created from process object ( BrowserWindow
    _bw = BrowserWindow.FromProcess(proc); ) get detach when navigate to other page....
     string sCurrentURL;
     string sExpectedURL="http://www.xyz.com/";           
     string sURL=UIMap.UIWindow.Uri.ToString();
     HtmlHyperlink objLogoLink = UIMap.UIWindow.UIDocument.UIHyperlink;          
     //Navigates to "http://www.xyz.co/" link after click on logo
     Mouse.Click(objLogoLink);
     sCurrentURL = UIMap2.UISecondPageWindow.Uri.ToString(); 
     Assert.IsTrue(sCurrentURL.Equals(sLogoURL));

  • Is there a way to create SQL Dev reports with validated binds?

    Is there a way to create SQL Dev reports with validated binds similar to the way user defined extensions can have <prompts> with a <value> that is a SQL statement returning a list of possible values?
    This sure would make select appropriate values for binds in reports easier and less error prone.

    Maybe a forum search on "Windows registry" would turn up some useful things. You're not the first to ask this. You might save yourself and everyone else some time if you'd simply do that.

  • Is there any way so that I Being able to clear out old data from the Order

    Hi Friends,
    Is there any way so that I Being able to clear out old data from the Order Gate forecast, tolerance, and confirmed order to date tables on a monthly basis?
    Means I want data in data table for particular time (I want that if suppose today is 13-11-2008 then my data table must contain data from 13-10-2008 to 13-11-2008.
    Is it possible thru ABAP development or thru any t codes ?
    Any pointers will be rewarded.
    Regards

    hi,
    Before archiving you have to put the Deletion flag for the object(May be for PO, MMR etc as per your req.)...
    After that the you use the archiving procedure to archive the docs which are already flagged for deletion...
    For MMR you use the transaction SARA...and its respective object for the archiving....
    You can use the SDN search to see the many threads on it...
    Or use this link as per your req. and make the search...
    http://help.sap.com/saphelp_erp2004/helpdata/EN/75/ee0fa855c811d189900000e8322d00/frameset.htm
    Regards
    Priyanka.P

  • Is there a way to send an email and prevent it from being forwarded

    Is there a way to send an email and prevent it from being forwarded

    Not with the most common email systems - webmail, POP, SMTP or IMAP. 
    The only email system I know of that can prevent forwarding (or copying or printing) is Lotus Notes (now called IBM Notes).  I believe it can technically be done within an MS Exchange environment, but I have never actually seen it implemented in one.

  • Is there a way to print out my itunes purchases, credits (from giftcards) and what is being charged to my credit ca

    Is there a way to print out my itunes purchases, credit (from gift cards) and what amounts are being charged to my actual credit card?  I have two children sharing this account (each with their own gift cards) and I'm trying to keep it fair on who spends what....etc.  PLEASE help.  I'm losing my mind! 

    The ability to connect to the printer or the G5 over the Internet will depend on your company's network. In the good ol' days of modems, you could use a dial-up connection to access your network remotely. Now with cable connections the same can be done, but there are a number of openings that need to be made by your IT dept to allow you access and to restrict others. So you should discuss your desire to remotely connect with them. They could share the printer so that once you are connected to your network, you could use IPP (Internet Printing Protocol) to connect to the printer share and still use the HP driver.
    PaHu

  • I've copied my itunes library onto an external hard drive.  Is there any way I can do this and delete songs from my PC without also deleting from the external drive? Already lost two songs!!!

    I've copied my itunes library onto an external hard drive.  Is there any way I can do this and delete songs from my PC without also deleting from the external drive? Already lost two songs!!!  I just want a back up - using a work PC and don't want others accessing my songs.  Hope someone can help.  Thanks!

    I see. To get a better idea of what is being stored where please download and run the script iTunesInfo which should output something like this:
    I'm interested in the block of 4 results starting ITL location. If your profile name shows up somewhere replace it with <Name>.  It is also worth checking under Edit > Preferences > Advanced to see where iTunes thinks your media is supposed to go. My script estimates the setting based on the location of the first media file it can actually find.
    tt2

  • Is there any way to get the query used in discoverer from backend??

    Hi All,
    I am new to dicoverer.
    Is there any way to get the query used in discoverer from backend??
    Thanks,
    Sachin

    Hi,
    you can view the SQL from within the discoverer menu:
    in desktop: View-> SQL Inspector
    in Plus: Tools-> Show SQL
    The SQL in the DB tables is encrypted so it's a problem getting it from there.
    You can export the workbook into SQL but it is not working for every worksheet (subquery, inline pivot tables...)
    you can create a batch file to export them all using the output of this script:
    select null,null,'echo off'
    from dual
    union all
    select distinct
    qs.qs_doc_name Workbook_name,
    qs.qs_doc_details Worksheet_Name,
    'start /wait <path>\dis51usr.exe /connect '||'&p_user_name'||'/'||'&p_password'||'@'||'&p_env'||' /apps_user /apps_responsibility "&responsibility" /opendb '||
    chr(34)||qs.qs_doc_name||chr(34)||' /sheet "'||qs.qs_doc_details||'"'||' /export SQL "C:\Export Discoverer SQL\'||qs.qs_doc_name||'-'||qs.qs_doc_details||'.sql" /batch'
    from eul_us.eul5_qpp_stats qs
    where qs.qs_doc_name is not null
    --order by 1,2
    union all
    select null,null,'echo off'
    from dual
    union all
    select null,null,'exit'
    from dual

  • My digitizer is not responding however i have loads of imessages. I tried to go onto my ipod touch to look at them but when i updated to ios7 it had not been signed in to imessage. Is there a way i can get imessages sent to iphone to load on my ipod?

    My digitizer is not responding however i have loads of iMessages which i can see because the lcd screen is visible but touchscreen is brokenI tried to go onto my ipod touch to look at them but when i looked it had not been signed in to iMessage which was after i received the iMessage on my iPhone . Is there a way i can get imessages sent to iPhone which i currently cannot access due to the touchscreen being unresponsive  to load on my iPod iMessage which is connected to my phone number as well as my email?

    maggielou wrote:
    I thought that I had backed up my pictures to icloud, but when I looked online at icloud, I don't see pictures listed.  However, a few of the recent pictures have shown up on my phone.
    IHow could I get these from my MacBook to my phone?
    Thanks again.
    When you log into you icloud account on your computer you are viewing data that you sync to icloud not the backups.  You can't view the backups.
    Look at the two links I provided.
    You still didn't answer any of my two questions I asked.

  • All of a sudden there is no audio being sent to encore from my Premiere CS6.

    All of a sudden there is no audio being sent to encore from my Premiere CS6. The video appears in encore but no audio. The audio plays fine in premiere. All settings look the same as the way I've been using it for years.

    I assume you are dynamic linking. As a test, export a short section from PR as MPEG2-DVD, then import those files to Encore "as timeline" (be sure to pick both the m2v and the wav).
    Audio now?

  • Is there a way to  have the iPad 2 "read" text from iBooks as with web sites or pages?

    is there a way to  have the iPad 2 "read" text from iBooks as with web sites or pages? A different App perhaps?

    Isn't that you asking how to get it (undefined) back?
    If you never had Pages '09, you can buy it from Amazon very cheaply:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=432&sid=f68e84cd2ec6 123bd2ed93806c7e7fb6&mforum=iworktipsntrick
    Peter

  • Is there a way to create a multiple event screen saver from iPhoto events?

    Is there a way to create a multiple event screen saver from photos in iphoto?  I can create a single event screen saver, but don't know if it is possible to create a screen saver with more than one event.

    Drag the events you want into an album and have the screen saver run from the album.

  • It is asking me for a password when I want to update my ipad, it has never done this before. I thought it ment my Apple ID but it didn't work and my ipad is now disabled. What should I do ? Is there a way of getting my password sent to me ?

    It is asking me for a password when I want to update my ipad, it has never done this before. I thought it ment my Apple ID but it didn't work and my ipad is now disabled. What should I do ? Is there a way of getting my password sent to me ?

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Can't remember my security questions and can't access my back up email address is there a way of getting the information sent to another email?

    Can't remember my security questions and can't access my back up email address is there a way of getting the information sent to another email?

    No. You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (103501)

  • Is there a way to put a playlist on my phone from my computer without erasing the other music from my phone?

    Is there a way to put a playlist on my phone from my computer without erasing the other music from my phone?

    Not if you set up very carefully what you want synced from your computer.  Make sure you have not set things to sync automatically and manually choose the settings of what gets synced

Maybe you are looking for