Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
1k views

OPENROWSET, binary files, varchars and varbinaries

I'm trying to upload a binary file into SQL Server, into a varbinary field. I've came up with this query to do it: INSERT INTO Files(File, Name) SELECT "file.bin" AS Name * FROM OPENROWSET(BULK ...
3
votes
3answers
2k views

Uploading a file to a varbinary on SQL Server

Is there any way to upload a file to a varbinary on SQL Server without writting a program to do it?