Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Content with tag SQLCLR Rss

   Items 1 to 20 of 39    Next 20 >>
 

CLR Performance Testing

Are Common Language Runtime routines in SQL Server faster or slower than the equivalent T-SQL code? How would you go about testing the relative performance objectively? Solomon Rutzky creates a test framework to try to answer the question and comes up with some surprising results that you can check for yourself.  Read more...
By Additional Articles 2011/08/01 | Source: SimpleTalk | Category: sqlclr
Rating:  Rate this |  Briefcase | 1,985 reads

How to create a CLR assembly on a remote server with limited permissions

How to create external_access CLR assembly on remote MS SQL server, when trustworthy option is forbidden, and only SQL login is available  Read more...
By Pavel Sinkevich 2011/07/25 | Source: SQLServerCentral.com | Category: sqlclr
Rating: |  Discuss |  Briefcase | 2,244 reads

Remove HTML tags from strings using the SQL Server CLR

It is recommended that you remove all special characters and HTML formatting. This task can be handled in TSQL code, however in this case I have the opportunity to use .NET and the power of the regular expressions to manage the string. In this tip, I'll build a CLR function which cleans up a string of HTML tags and special characters. I'll use Visual Studio 2010 with C# as the programming language. Check out this tip for my solution.  Read more...
By Additional Articles 2011/07/04 | Source: MSSQLTips.com | Category: sqlclr
Rating: (not yet rated)  Rate this |  Briefcase | 2,985 reads

Taking It to the Extreme: SQLCLR and Parallelism

Learn to use SQLCLR, parallelism and how to write better performing SQL code from MVP Adam Machanic in New York City on July 14-15. Early bird discounts available with the code "EARLYBIRD".  Read more...
By Press Release 2011/06/27 (first published: 2011/05/20) | Source: SQLServerCentral.com | Category: training
Rating:  Rate this |  Briefcase | 5,354 reads

Taking It to the Extreme: SQLCLR and Parallelism

Learn to use SQLCLR, parallelism and how to write better performing SQL code from MVP Adam Machanic in New York City on July 14-15. Early bird discounts available with the code "EARLYBIRD".  Read more...
By Press Release 2011/06/27 (first published: 2011/05/20) | Source: SQLServerCentral.com | Category: training
Rating:  Rate this |  Briefcase | 5,354 reads

Taking It to the Extreme: SQLCLR and Parallelism

Learn to use SQLCLR, parallelism and how to write better performing SQL code from MVP Adam Machanic in New York City on July 14-15. Early bird discounts available with the code "EARLYBIRD".  Read more...
By Press Release 2011/06/27 (first published: 2011/05/20) | Source: SQLServerCentral.com | Category: training
Rating:  Rate this |  Briefcase | 5,354 reads

Trading in xp_cmdshell for SQLCLR (Part 2) - Export Data to Flat Files

Learn how SQLCLR can be used to replace BCP and xp_cmdshell to export data to comma separated and tab delimited flat files.  Read more...
By Jonathan Kehayias 2011/05/06 (first published: 2009/03/03) | Source: SQLServerCentral.com | Category: sqlclr
Rating: |  Discuss |  Briefcase | 15,064 reads

Trading in xp_cmdshell for SQLCLR (Part 1) - List Directory Contents

Learn how to use SQLCLR to get file system information instead of using xp_cmdshell on your SQL Servers.  Read more...
By Jonathan Kehayias 2011/04/29 (first published: 2009/02/05) | Source: SQLServerCentral.com | Category: sqlclr
Rating: |  Discuss |  Briefcase | 21,794 reads

Read and Write Binary Files in SQL Server with CLR

You are a database developer looking for a common approach for handling read and write access to binary files. You may be a DBA wanting to read various information from binary files and collect it into tables. The code sample presented in this tip will get you started with binary file content handling in SQL Server.  Read more...
By Additional Articles 2011/04/14 | Source: MSSQLTips.com | Category: sqlclr
Rating: (not yet rated)  Rate this |  Briefcase | 3,712 reads

SQL Server random numerics data generation using CLR

You need to generate random data directly into SQL Server table columns or close to the database engine as variables or expressions. Looking at the SQL Server available functions, you notice that only RAND function offers support for random data generation. Although RAND([seed]) is a built-in function, it can only return a float value between 0 and 1, and has other limitations in regards to seed values. Because your table columns may be of various data types, and each data type may have a lower value and an upper value, you would prefer to create your custom random data generators. This is when SQL Server CLR functions come into play and provide a viable solution.   Read more...
By Additional Articles 2011/03/24 | Source: MSSQLTips.com | Category: sqlclr
Rating:  Rate this |  Briefcase | 2,545 reads

How To Use Regular Expressions for Data Validation and Cleanup

You need to provide data validation at the server level for complex strings like phone numbers, email addresses, etc. You may also need to do data cleanup / standardization before moving it from source to target. Although SQL Server provides a fair number of string functions, the code developed with these built-in functions can become complex and hard to maintain or reuse.  Read more...
By Additional Articles 2011/03/03 | Source: MSSQLTips.com | Category: regular expressions
Rating:  Rate this |  Briefcase | 14,005 reads

SQLCLR Appdomains

By Steve Jones 2011/02/25 | Category: sqlclr
Rating: (not yet rated) |  Discuss |  Briefcase | 1,862 reads

SQL CLR App Domains

By Steve Jones 2011/02/09 | Category: sqlclr
Rating: (not yet rated) |  Discuss |  Briefcase | 2,045 reads

SQLCLR

By Steve Jones 2011/02/01 | Category: sqlclr
Rating: (not yet rated) |  Discuss |  Briefcase | 2,122 reads

A genuine use for a SQL CLR Aggregate

When should you use a SQL CLR Aggregate? Lots of people have struggled with this one, but David Poole found a use, and has some interesting performance data analysis as well.  Read more...
By David Poole 2010/12/29 | Source: SQLServerCentral.com | Category: sqlclr
Rating: |  Discuss |  Briefcase | 7,970 reads

SQL CLR Function for Email validation and string Split

I have added 2 functions here, one for email validation and another to split the string by specified separator by user.  Read more...
By Bharat Panthee 2010/12/23 | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |  Briefcase | 1,040 reads

Sending E-Mail from SQL 2008 Express

This article provides a comprehensive solution to sending email from SQL Express 2008 and Express 2008 R2.  Read more...
By Andrew Prisk 2010/11/04 | Source: SQLServerCentral.com | Category: sql server express
Rating: |  Discuss |  Briefcase | 9,633 reads

fn_fixeddrives() : an alternative for xp_fixeddrives

The idea is to create a SQLCLR table valued function that returns all information on drives in a UNIX df-like style.  Read more...
By David Baffaleuf 2010/09/21 | Source: SQLServerCentral.com | Category: sqlclr
Rating: |  Discuss |  Briefcase | 7,444 reads

SQL CLR Data Types and Performance

Using SqlTypes can have a significant impact on the performance of your SQL CLR implementations. Is it for the better? Read this article to find out.  Read more...
By Matt Zakrzewski 2010/07/21 | Source: SQLServerCentral.com | Category: sqlclr
Rating: |  Discuss |  Briefcase | 6,782 reads

Multi-parameter CLR aggregate in SQL Server 2005

How is it possible to pass multiple parameters to a SQL Server 2005 CLR aggregate?  Read more...
By Additional Articles 2010/07/06 | Source: MSSQLTips.com | Category: sqlclr
Rating: (not yet rated)  Rate this |  Briefcase | 1,833 reads
   Items 1 to 20 of 39    Next 20 >>
 
Tags
string manipulation (3)    
performance (2)    
sql server 2005 (2)    
administration (1)    
ado.net (1)    
aggregates (1)    
backup / restore (1)    
bcp (1)    
bit masking (1)    
bit masking using c# (1)    
clr (1)    
common language runtime (clr) (1)    
data validation (1)    
disaster recovery (dr) (1)    
excel (1)    
export (1)    
performance & optimization (1)    
regular expressions (1)    
showplan (1)    
sql server express (1)    
streaming table-valued function (1)    
stvf (1)    
table-valued function (1)    
training (1)    
t-sql (1)    
xml (1)    
xp_cmdshell (1)    
xp_fixeddrives (1)