在试图做一个更新我收到以下错误LINQ的对象。
When trying to do an update for a Linq object I receive the following error.
SQL Server不处理NTEXT,文本,XML,图像或数据类型进行比较。
"SQL Server does not handle comparison of NText, Text, Xml, or Image data types."
有一个在这是一个文本字段,因为它打算举行一个字符串,它可能会高达32KB的数据库中的字段。
There is a field in the database that is a Text field because it is going to hold a string that could be as much as 32kb.
我应该更改数据类型或者是有一个变通的LINQ的,我可以用?
Should I change the data type or is there a work around in Linq I could use?
修改
我的支持SQL 2000这就是为什么它是一个文本字段。
I have support SQL 2000 which is why it is a TEXT field.
将它更改为VARCHAR(最大值) - 它会让生活变得更轻松。
Change it to a VARCHAR(max) - it will make life much easier.
修改
全文索引可以帮助你在这里,不知道SQL 2000将允许你再在你的文字栏搜索
Full text indexing may help you here, not sure if SQL 2000 would allow you to then "search" on your text column
上一篇:如何增加Android的区域范围设定的一致性进入/退出的通知?范围、区域、通知、Android
下一篇:什么是ImageView.ScaleType.CENTER_INSIDE和FIT_CENTER之间的区别?区别、ScaleType、ImageView、FIT_CENTER