Query returns no rows...

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

  1. #1

    Default Re: Query returns no rows...

    Any more input on this? I still can?t get this resolved :(
    chrson Guest

  2. Similar Questions and Discussions

    1. DBI Query rows Benchmark
      Hello! I have a questionto those lovers of DBI and Databases: which method is faster to know the number of rows of a query: $sth->rows or ...
    2. Deleting specific rows from a returned query result
      I execute a <cfquery> statement block, and that works fine. However, I need to manipulate the return query rows by deleting the ones that do not...
    3. CFFILE output multiple rows from a query
      I have a quiestion about the below. I am working with this method, but I find that my code results in the first record being outputed twice in the...
    4. How to limit # of rows returned from query
      I am looking at setting a limit to the number of rows returned on some of my queries. I was looking at doing something like: <cfoutput...
    5. Query returns first record everytime?
      I have a .cfm page that takes an email address and qureies the database for proper record. The query seems not to accept the "where" statement and...
  3. #2

    Default Re: Query returns no rows...

    I'm having exactly the same issue. A client of ours had us upgrade their
    development server (thank god it wasn't production) from CF 5 to CFMX 6.1. The
    installer migrated all the settings but these odd ODBC connections didn't work
    after that. I deleted them in the CF Administrator and re-added them using the
    ODBC Sockets. I don't have any username or password in the setup as the
    connection does not require one and I have the Trusted Connection box checked.
    If I add/change any other settings in the Administrator, the connection
    fails. We are using an ODBC driver from OpenLink to connect to a Progress
    database.

    Pete L. Guest

  4. #3

    Default Re: Query returns no rows...

    Good to see that I?m not alone on this...
    Please let me know if you?re having any luck with this Pete, in the meantime I?ll keep pulling my hair :)

    Christian
    chrson Guest

  5. #4

    Default Re: Query returns no rows...

    Hi Christian: We finally ended up convincing the client to move to (i.e.
    purchase) an additional OpenLink License for the JDBC dirver. After a little
    bit of trial and error getting that connected, they are now working very well.
    Not sure if you are using an OpenLink driver as well, but we could not get it
    to work through ODBC Sockets. In our tests the ODBC sockets for most any
    database are quite a bit slower than a JDBC driver with MX, so if you can get a
    JDBC driver, it is highly recommended.

    Pete L. Guest

  6. #5

    Default Re: Query returns no rows...

    Hey Christian, what fields would be returned from this query? Specifically
    what datatypes are the fields? I'm running into this problem as well, but it
    only occurs when there is 1 bit field in the result set. It doesn't matter if
    there is 1 or 2000 rows normally returned, if its a single bit field, we get
    zero records through coldfusion. I have tried w/ various ODBC driver versions
    (we use sybase) and both CFMX 6.1 &amp; 7. The issue still persists.

    ColonelNusterd 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