This is a migrated thread and some comments may be shown as answers.

NVARCHAR(MAX) - Value length

1 Answer 105 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Fero
Top achievements
Rank 1
Fero asked on 16 Apr 2009, 11:42 AM
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> 
 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Thomas
Telerik team
answered on 17 Apr 2009, 01:27 PM
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.
Tags
Design Time (Visual Designer & Tools)
Asked by
Fero
Top achievements
Rank 1
Answers by
Thomas
Telerik team
Share this question
or