NVARCHAR(MAX) - Value length

2 posts, 0 answers
  1. Fero
    Fero avatar
    3 posts
    Member since:
    Oct 2006

    Posted 16 Apr 2009 Link to this post

    How to set the max length?

    MSSQL - Does not work (The string lenght is NULL in database)

    <field name="_properties">  
     
    <extension key="db-column">  
     
    <extension key="db-column-name" value="Properties" /> 
     
    <extension key="db-sql-type" value="NVARCHAR(MAX)" /> 
     
    <extension key="db-length" value="0" /> 
     
    </extension> 
     
    </field> 
     

     

     


    MySql - Works

     

    <field name="_properties">  
     
    <extension key="db-column">  
     
    <extension key="db-column-name" value="Properties" /> 
     
    <extension key="db-sql-type" value="LONGTEXT" /> 
     
    <extension key="db-length" value="0" /> 
     
    </extension> 
     
    </field> 
     

     

     

     

     

     

     

  2. Thomas
    Admin
    Thomas avatar
    590 posts

    Posted 17 Apr 2009 Link to this post

    Hi asd,

    I've tried this here but I'm unable to reproduce what you saw, I could store values in both MSSQL and MySQL as wished.
    Can you send us a reproducing case?

    Sincerely yours,
    Thomas
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
Back to Top