---------------------------------- 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 'D:\logo.bmp', Single_Blob) as EmployeePicture ------------------------------
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)