Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道如何查看 MS SQL Server 2005 数据库中包含二进制数据的字段内容吗?
取决于它是否只是以二进制形式存储的文本,如果是,那么看看这个
create table #bla (col1 varbinary(400)) insert #bla values(convert(varbinary(400),'abcdefg')) select col1,convert(varchar(max),col1) from #bla
输出 0x61626364656667 abcdefg