Professional Web Applications Themes

[Macromedia][Oracle JDBC Driver]No more data availableto read. - Coldfusion Database Access

I get the following error when I change the SQL statement layout in my ColdFusion code - [Macromedia][Oracle JDBC Driver]No more data available to read. For Example: The original SQL Statement looks like this: SELECT COLUMN1, COLUMN2, COLUMN3, COLUMN4, COLUMN5, COLUMN6 FROM TABLE1 UNION SELECT COLUMN1, COLUMN2, COLUMN3, COLUMN4, COLUMN5, COLUMN6 FROM TABLE2 ORDER BY 1,2 But when I change the SQL statement to the following I get an error. SELECT COLUMN1, COLUMN2, COLUMN3, COLUMN4, COLUMN5, COLUMN6 FROM TABLE1 UNION SELECT COLUMN1, COLUMN2, COLUMN3, COLUMN4, COLUMN5, COLUMN6 FROM TABLE2 ORDER BY 1,2 I don't understand how I can get an ...

  1. #1

    Default [Macromedia][Oracle JDBC Driver]No more data availableto read.

    I get the following error when I change the SQL statement layout in my
    ColdFusion code - [Macromedia][Oracle JDBC Driver]No more data available to
    read.

    For Example:
    The original SQL Statement looks like this:
    SELECT COLUMN1, COLUMN2, COLUMN3,
    COLUMN4, COLUMN5, COLUMN6
    FROM TABLE1

    UNION

    SELECT COLUMN1, COLUMN2, COLUMN3,
    COLUMN4, COLUMN5, COLUMN6
    FROM TABLE2
    ORDER BY 1,2

    But when I change the SQL statement to the following I get an error.
    SELECT COLUMN1, COLUMN2, COLUMN3, COLUMN4, COLUMN5, COLUMN6
    FROM TABLE1

    UNION

    SELECT COLUMN1, COLUMN2, COLUMN3, COLUMN4, COLUMN5, COLUMN6
    FROM TABLE2
    ORDER BY 1,2

    I don't understand how I can get an error just by changing the layout of the
    SQL statement. Can someone help me on this.

    stick35 Guest

  2. #2

    Default Re: [Macromedia][Oracle JDBC Driver]No more dataavailable to read.

    Since you posted what looks like an example, and not your actual code, I would
    suspect that you really changed more than just moving all of the column names
    to a single line. Look for missing or extra ' and , characters, etc.

    Phuil

    paross1 Guest

  3. #3

    Default Re: [Macromedia][Oracle JDBC Driver]No more dataavailable to read.

    I am currently using CFMX 7.0.1
    Hmmm...scratch, scratch, scratch. I'll take another look.


    BKBK Guest

  4. #4

    Default Re: [Macromedia][Oracle JDBC Driver]No more dataavailable to read.

    The [url]http://www.talkingtree.com/blog/index.cfm?mode=entry&entry=40F4C7EA-45A6-2844-7D0C4841EA190125[/url] has something interesting to say about it.


    BKBK Guest

Similar Threads

  1. [Macromedia][Oracle JDBC Driver]No more dataavailable to read.
    By BKBK in forum Coldfusion Database Access
    Replies: 1
    Last Post: January 25th, 03:22 PM
  2. [Macromedia][SQLServer JDBC Driver]No more da
    By Rob.A in forum Coldfusion Database Access
    Replies: 2
    Last Post: November 23rd, 09:36 PM
  3. [Macromedia][SequeLink JDBC Driver][ODBC
    By SilentBob'secretfusion in forum Coldfusion - Advanced Techniques
    Replies: 1
    Last Post: May 31st, 11:17 PM
  4. Replies: 2
    Last Post: April 11th, 03:47 PM
  5. SQLException: [Oracle JDBC Driver]No more data availableto read ?!?!?
    By kilokilo in forum Coldfusion Database Access
    Replies: 0
    Last Post: March 1st, 04:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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