首页 > 其他分享 >Argument data type text is invalid for argument 1 of replace function

Argument data type text is invalid for argument 1 of replace function

时间:2022-10-14 12:44:37浏览次数:79  
标签:function text argument invalid type data

今天给webapi添加了搜索,结果数据库显示了这个错误,

Argument data type text is invalid for argument 1 of replace function

查了一下发现是字段类型ntext的问题,解决办法也很简单,改用nvatchar(max)就可以了

参考文献

https://stackoverflow.com/questions/22684815/argument-data-type-text-is-invalid-for-argument-1-of-lower-function

标签:function,text,argument,invalid,type,data
From: https://www.cnblogs.com/Yu-Core/p/16791260.html

相关文章