I have the following SQL procedure:
DECLARE @stament as nvarchar(max)
set @stament='SELECT BulkColumn FROM OPENROWSET (BULK '''+ @Path+''', SINGLE_BLOB) MyFile '
EXECUTE sp_executesql @stament
when I execute it, an error occurs:
Cannot bulk load because the file "\MyServer\New Folder" could not be opened. Operating system error code 5(Access is denied.).
I checked the permission on the folder, Everyone has full access, and the file exists.
Thanks