insert into 学生相片 values('2','2','2','2','2',
(SELECT * FROM
OPENROWSET
(BULK 'F:2.jpg', single_blob) AS a));
update 学生相片 set
Photo =
(SELECT * FROM
OPENROWSET
(BULK 'F:psb.jpg', single_blob) AS a) where id=3;
insert into 学生相片 values('2','2','2','2','2',
(SELECT * FROM
OPENROWSET
(BULK 'F:2.jpg', single_blob) AS a));
update 学生相片 set
Photo =
(SELECT * FROM
OPENROWSET
(BULK 'F:psb.jpg', single_blob) AS a) where id=3;