ntext和text一样用来保存大量的文字数据,不过text用单字节保存数据 ,ntext固定用双字节保存数据. ntext保存的是Uncode的字符 , ntext支持跨语言平台。

使用这个类型,必须转换数据类型才能操作sql如

sql ntext数据类型怎么查询

select Author as 作者,Subject as 标题,PostDate as 发布时间 from [dbo].[spb_ForumPosts] where ParentId=0 and cast(PropertyValues AS varchar(1000))= 'true'

 

相关文章:

  • 2022-12-23
  • 2021-10-08
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2023-04-11
  • 2021-06-01
猜你喜欢
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-09-14
  • 2022-12-23
  • 2021-10-05
相关资源
相似解决方案