Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i tried this
SQL
CREATE TABLE DBFiles (
  id int IDENTITY(1,1) NOT NULL,
  fname nvarchar(1000) NOT NULL,
  [file] varbinary(max)
)

INSERT INTO DBFiles(fname, [file]) 
SELECT 'Wallpapers', * FROM OPENROWSET(
  BULK N'https://s3.amazonaws.com/proxio-1/2009-08-08/ec225927-05f6-48cb-8a82-60056e636cc3',
  
  SINGLE_BLOB
) rs;


it is path of image https://s3.amazonaws.com/proxio-1/2009-08-08/ec225927-05f6-48cb-8a82-60056e636cc3
..
Posted
Updated 1-Dec-11 1:58am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900