insert into hrschema.pegawai(nip,photo)
select 59, bulkcolumn from openrowset (bulk 'c:\gg\img\Tulips.jpg', single_blob) as pic
Jika ukuran file lebih besar dari 65K execute code dibawah ini:
sp_configure 'max text repl size', 2147483647
Go
RECONFIGURE
GO
Tidak ada komentar:
Posting Komentar