Skip to main content
Filter by
Sorted by
Tagged with
4 votes
3 answers
5k views

I'm trying to convert some existing C# code into a CLR stored procedure. The obvious connection string to use is a context connection ("context connection = true"). The problem I'm running into is ...
Kevin Gale's user avatar
  • 4,498
11 votes
2 answers
11k views

I've got a SqlServer project with a very simple test for a Table-Valued-Function:- [SqlFunction(TableDefinition = "forename nvarchar(50)", FillRowMethodName = "TestFillRow", DataAccess = ...
AnthonyWJones's user avatar
0 votes
2 answers
2k views

How do you raise a SQL Server error event (similar to RAISERROR) from within a SQL CLR routine?
user avatar
36 votes
5 answers
39k views

Is there an equivalent of PRINT 'hello world' which can be called from CLR (C#) code? I'm trying to output some debug information in my function. I can't run the VS debugger because this is a remote ...
Serguei's user avatar
  • 2,958
0 votes
1 answer
1k views

we are trying to create C# CLR Stored Procedure on a SQL Server 2005 machine. The C# code connects to an external datasource via an OLEDB driver to get a datatable. It has been tested on a separate ...
scoob's user avatar
  • 1,379
13 votes
4 answers
7k views

What advantages does SQLServer CLR offer over T-SQL? Is using .NET syntax easier than T-SQL? I see that you can define user types, but I'm not quite clear on why that's better. For example, you could ...
Anthony Potts's user avatar
0 votes
1 answer
542 views

I've got a Clr user defined type that takes a string of values sepertated by a comma. I'm losing a little bit of precision when converting to this type, I've narrowed it down to this line of code: ...
Hath's user avatar
  • 12.8k
1 vote
3 answers
243 views

For some reason, new projects set the version number of the assembly to 1.0.*, which then assigns what appears to be a random number once compiled. Why is this not set to 1.0.0.0 like all other ...
HAdes's user avatar
  • 17.1k
2 votes
1 answer
667 views

I have a SQL CLR function in SQL Server 2005. I want to profile this function to make sure there are no memory leaks. Any recommendations on how to determine if my function is behaving properly?
adeel825's user avatar
  • 5,787
16 votes
12 answers
9k views

My current view is no, prefer Transact SQL stored procedures because they are a lighter weight and (possibly) higher performing option, while CLR procedures allow developers to get up to all sorts of ...
Ash's user avatar
  • 62.5k

1
17 18 19 20
21