Solved

SQL Server RDS clr assembly

Posted on 2016-11-07
4
114 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

691 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