CREATE TABLE Employees
(
Id int,
Name varchar(50) not null,
Photo varbinary(max) not null
)
INSERT INTO Employees (Id, Name, Photo)
SELECT 10, 'John', BulkColumn
FROM Openrowset( Bulk 'C:photo.bmp', Single_Blob) as EmployeePicture
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…