Strange query of ntext behavior

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Strange query of ntext behavior

    If a query explicitly returns an ntext field, its value is returned. If
    however, all fields are returned, the ntext fields don't return anything. Any
    idea as to what is going on here? Thanks.

    <cfquery name="qGetSchools" datasource="mydatasource">
    Select * from guideschools where id=13045
    </cfquery>

    <cfquery name="qGetSchool2" datasource="mydatasource">
    Select faculty from guideschools where id=13045
    </cfquery>

    <cfoutput>Select * = #qGetSchools.faculty#</cfoutput><br>

    <cfoutput>Select faculty = #qGetSchool2.faculty#</cfoutput>

    Starman9999 Guest

  2. Similar Questions and Discussions

    1. Strange behavior of webservices
      Hi! I found same strange behavior of ASP.NET. It is possible this is the bug. Follow the steps: I create the simple service,...
    2. Strange behavior
      The problem seems to be in c code calling ruby calling c code. ======== start test.rb puts "about to require curses" require "curses" puts...
    3. Strange behavior of $.
      Apparently $. is not always set correct (see second ruby 1liner). Is this a bug? 12:12:42 : cat -n n 1 2 3 BAR="hello" 4 12:12:47 : ruby...
    4. Why strange IF...ELSE behavior
      Hi all, I'm getting a strange result with the following IF statement: $bar = ($foo == 'last') ? true : false; In my script $foo normaly has...
    5. unique()????? strange behavior
      mearnh@acxiom.com (mike) wrote in message news:<db323ee1.0306251150.685546ef@posting.google.com>... If I'm right, you're missing a reset() here......
  3. #2

    Default Re: Strange query of ntext behavior

    works for me (assuming you mean sql server).

    what ver of cf? if mx, got the updaters? what db driver are you using?
    PaulH Guest

  4. #3

    Default Re: Strange query of ntext behavior

    Ok, found out the problem. I was using the ODBC SQL driver. Now I've switched to the direct SQL driver. Works like a champ!
    Starman9999 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