Viewing 15 posts - 946 through 960 (of 964 total)
The answer is yes there are ways, the follow on question is why would you want to?
July 7, 2008 at 10:08 am
If all you are doing is selecting data, then you shouldn't be doing this in CLR. This is a TSQL only task. By using CLR for this, you are...
July 7, 2008 at 6:45 am
What is the error that you get, and what process are you doing when you get it? If it is a dependent items failure during a deploy operation, you...
July 5, 2008 at 9:01 am
You need to instatiate an instance of the Transaction Scope class. The following is an example of how you would do this:
using (TransactionScope ts = new TransactionScope())
{
using...
July 5, 2008 at 8:56 am
Matt is correct here. Unless you are doing complex regular expression replacements, your operation will likely be slower in CLR versus a set based TSQL implementation. I would...
July 3, 2008 at 10:12 am
I almost made a comment about offloading to Service Broker for exactly what RBarryYoung points out. You could hit latency issues on the linked server, but you could also...
July 3, 2008 at 9:11 am
This is not something that you should do with an assembly. A linked server can be created following the instructions in the BOL:
http://msdn.microsoft.com/en-us/library/ms190479.aspx
Then a DML Trigger on...
July 3, 2008 at 8:11 am
Just a note,
If I had to implement this, I would go the TSQL Route for the function over paying the cost of the CLR function in loading an AppDomain, and...
July 2, 2008 at 8:49 pm
You can't change how it outputs the errors, but you can change how you consume them. For example, you can create a simple function to clean it up like:
...
July 2, 2008 at 6:35 pm
What exactly is your application doing, and what is it written in? This kind of information is best implemented not in CLR but with standard DDL Triggers. The...
July 2, 2008 at 4:52 pm
What type of CLR object is this? A Trigger/Stored Procedure?
July 2, 2008 at 4:45 pm
More thn anything else, UDT's and UDF's are easily used out side of SQL. This is of great benefit for things like geocoding where the UDT is used as...
June 28, 2008 at 8:20 am
Akeelm,
Looking at your trigger, it has a common mistake that I see in both TSQL and CLR triggers. It only handles a single row, so if you have more...
June 27, 2008 at 9:45 pm
Generally speaking this is accomplished with an Active Directory Domain Users Group. You add the AD Group to SQL Server as a Login, and then grant the correct rights...
June 27, 2008 at 8:36 pm
(1) Create a new schema that will hold the SQLCLR objects
(2) Create an asymmetric key from the assembly dll
(3) Create a login from the asymmetric key
(4) Grant EXTERNAL-ACCESS-ASSEMBLY permissions to...
June 27, 2008 at 8:20 pm
Viewing 15 posts - 946 through 960 (of 964 total)