create table tb1(f1 varbinary) gocreate table tb2(f2 varbinary) goinsert into tb1 select 10011110001010 union all select 0101110101101 union all select 011100100100111insert into tb2 select f1 from tb1select * from tb2 drop table tb1 drop table tb2---------------- 0x0E 0x0C 0x0E
SELECT b
FROM table2
select cast(field as int) from table
gocreate table tb2(f2 varbinary)
goinsert into tb1
select 10011110001010
union all
select 0101110101101
union all
select 011100100100111insert into tb2
select f1 from tb1select * from tb2
drop table tb1
drop table tb2----------------
0x0E
0x0C
0x0E
必须要这样:好像是FileStream.read(文件名,其它参数)如果我是数据库的字段的内容该如何取出来呢