MX7 can't execute MAX()

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

  1. #1

    Default MX7 can't execute MAX()

    I just upgraded the ColdFusion server with ColdFusion MX7. After the upgrade,
    some of my existing working application have generated errors and stop working
    after the upgrade. After days of diagnostic, I have figure out where the
    problem is and narrowed down the root cause of it.

    With the <CFQUERY> tag, the SQL statement of SELECT max(column) FROM table
    stops working when there is more than 100 records in that table, but it works
    perfectly fine with SQLPlus. The root cause of the issue is that MAX()
    function will not be working throught ColdFusion if data type of the column is
    NUMBER(). The only way to get away with the problem is either change the
    source code with the application to use SELECT column FROM table ORDER BY
    column DESC, or change the data type to VARCHAR2() instead of NUMBER().

    I don't think that this is supposed to be the only solution and would like to
    know other ways to fix this problem.

    System: Windows Server 2003 Web Edition.
    Database: Oracle 8.1.7

    Thanks to everyone for any hints!

    rayspeed Guest

  2. Similar Questions and Discussions

    1. execute var from PHP in FLA
      Hi guys! I've made a form from where a user can sign up. Now I want to tjeck in the MySQL db if the email already exists. How is this done? I...
    2. execute
      I need to execute the executable i created in vb to bring up another form. I tried using cfexecute that didnt seem to work and i also tried usin...
    3. [PHP] cannot execute?
      The path mogrify is in PATH for webserver user? Try exec("/path/to/mogrify ... Also, the webserver user have write (not only read) the file ? ...
    4. cannot execute?
      -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, can anyone tell me why following script does not resize image? It calls ImageMagick...
    5. Cannot execute ASP
      Dear all I got the warning message from event log after executing the asp page. Source: W3SVC Event ID: 36 The server failed to load...
  3. #2

    Default Re: MX7 can't execute MAX()

    I'm guessing driver problem. I've read other posts about Oracle stuff starting to crash after an upgrade and it always seems to be a driver problem.

    I don't know the details.
    Dan Bracuk Guest

  4. #3

    Default Re: MX7 can't execute MAX()

    I have actually tried to change to driver in C:\windows\system32 that was used by the ODBC connection. But the problem still persists.
    rayspeed 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