4 Replies Latest reply on Jul 25, 2014 7:20 AM by BreakawayPaul

    Problems with nvarchar(max)?

    BreakawayPaul Level 2

      During testing yesterday, I found that my web app wasn't updating records correctly.  Some columns update while others didn't.


      Upon further inspection, I found that all the columns that weren't updating had one thing in common - they're all datatype nvarchar(max).


      I'm not sure what the problem is, but the first thing that came to mind was my cfqueryparam tags.  I'm using cf_sql_clob as the cfsqltype (this is leftover from MS Access, as we needed that for memo fields).  I tried changing this to varchar and longvarchar with no luck.


      The odd thing is that it works perfectly (using clob) on our test server, just not on our live server.  Both machines are running CF8, but one is running SQL Express and the other is running SQL Enterprise.


      I'm sort of not sure where to go from here as far as debugging this.