October 15, 2010 at 4:23 am
HI,
How can i deploy the CLR Stored procedure to production i.e., different server.
thanks,
🙂
October 15, 2012 at 5:46 am
create your assembly in your production database using the below statement.Build your project and copy your .dll to your prod server .
CREATE ASSEMBLY sqlcrlProcName from 'C:\CLRProcFiles\SQLProc.dll' with PERMISSION_SET = SAFE
to enable CLR feature in your database :
use master
GO
EXEC sp_configure 'show advanced options' , '1';
reconfigure;
EXEC sp_configure 'clr enabled' , '1' ;
reconfigure;
EXEC sp_configure 'show advanced options' , '0';
reconfigure;
October 15, 2012 at 6:09 am
additinally, since you've deployed it on one server already, you can actually script them out as a binary blob and install them via a script...the script may load slow as hell when you open it in SSMS, because teh binary string is thousands of characters long, but it works:
Lowell
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply