Bohn
Bohn

Reputation: 26919

Downloading a .NET DLL from SQL Server

I want my C#.NET program to go download my DLL from a table in SQL Server which I don't know what type of column I even need to keep a DLL in it, and then run that DLL. How can I do this? What do I need on the C# side and what column type do I need in SQL Server side?

Upvotes: 0

Views: 93

Answers (1)

Damien Dennehy
Damien Dennehy

Reputation: 4074

As a DLL is a binary object your best bet would be the varbinary(x) type, where x is the size of the column in bytes.

https://msdn.microsoft.com/en-ie/library/ms188362.aspx

Upvotes: 1

Related Questions