Solved

SQL Server RDS clr assembly

Posted on 2016-11-07
4
100 Views
Last Modified: 2016-11-09
Is it possible to store a clr assembly in a SQL Table.... and call it form there instead of a folder?
0
Comment
Question by:lrbrister
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 13

Expert Comment

by:Nakul Vachhrajani
ID: 41877694
You only need to create the assembly from a folder (i.e. physical dll) once. Once the assembly is created, you can simply right-click it in SSMS and choose to script out the assembly. It will produce a binary representation of the assembly which you can then embed into your deployment scripts.

This process is described here (https://msdn.microsoft.com/en-us/library/ms345099.aspx)
0
 
LVL 12

Expert Comment

by:Máté Farkas
ID: 41878364
Dear lrbrister,
Can you show me an example how you call a CLR assembly from a folder in SQL Server?
0
 
LVL 43

Accepted Solution

by:
Eugene Z earned 500 total points
ID: 41879264
<Is it possible to store a clr assembly in a SQL Table.... >
if you meant "DLL" -- yes

<and call it form there instead of a folder?>
No
---
Not sure why do you need this but

..as an idea...
with some "extra" steps

1st you can store file in sql server

2nd  you need to retrieve this file each time
and "deploy" and after  do "cleanup", etc
---\


Deploying CLR Database Objects
https://technet.microsoft.com/en-us/library/ms345099(v=sql.105).aspx
0
 

Author Closing Comment

by:lrbrister
ID: 41880605
Thanks
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
encrypt SQL Server 2008 port 1433 3 44
Retrieve a Registry value using SCCM 2012. 2 44
Creating a View from a CTE 15 44
Powershell error using sql agent job 24 35
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question