How to retreive a Query string..?

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default How to retreive a Query string..?

    Hi,
    I want to retreive all the queries that were executed in the Page.
    I don't want to enable debugging in server..and don't want to store query in a
    variable.No use of log files also.

    So is there a way to get the query string..Something like getting debug
    information ...

    Thx
    AL

    alagukannan Guest

  2. Similar Questions and Discussions

    1. Retreive connection wizard URL
      Ok this is a tough one. I work for Corporate Technologies and I have a client who is in a heck of a situation. Inside Macromedia Contributes...
    2. query string
      hi there, i'm working on a very simple flash data integration project, i have been trying to send a query string without opening/reloading a...
    3. Maintain query string and somehow auto refresh a pagewith that string intact
      I have a drill down where on page one the user selects criteria to narrow down the search for a speicific group of employees(like all hired between...
    4. Retreive Data from WS
      My web service retreives data from a NorthWind database. THIS works with Windows form but the same code wont work in ASP.NET project. WHY? My...
    5. Using NOT LIKE in Query String????
      OK, I know how to use to pull up all records that contains the keyword, but what about not containing the keyword? I've tried NOT LIKE but i get ...
  3. #2

    Default Re: How to retreive a Query string..?

    Nope, you pretty much said you didn't want to use any of the methods that can possibly do this for you.
    Kronin555 Guest

  4. #3

    Default Re: How to retreive a Query string..?

    I don't know if this works when debugging disabled, but if you are using MX 7,
    you could try using the "results" attribute of cfquery and then accessing the
    #result_name.sql# value. See
    [url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000316.htm[/url] for more
    details.

    mxstu Guest

  5. #4

    Default Re: How to retreive a Query string..?

    mxstu, I didn't know about result.sql, that's pretty neat. Too bad I'm not on MX7... Maybe alagukannan is...
    Kronin555 Guest

  6. #5

    Default Re: How to retreive a Query string..?

    Yes it does look cool. I haven't used it yet ... and I'm not on MX7 at the moment, but I saw the feature and was practically salivating ;-)
    mxstu Guest

  7. #6

    Default Re: How to retreive a Query string..?

    Thats Kool,But I don't have a Mx7.
    I need the query to generate a csv file.I Can export to excel using IE,but I
    have implemented paging..So can't export all the values
    There are too many queries and too many files..so i can't go and change
    manually.I had planned to do with a custom tag or application.cfm.But i have to
    catch the query..anyway ?
    Is there any other i can approach this problem..?

    thx
    AL

    alagukannan Guest

  8. #7

    Default Re: How to retreive a Query string..?

    Nevermind. I see Kronin555 just suggested the JDBC route I was thinking of ;-)
    mxstu Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139