Snippets of the day – Thursday, February 20, 2014

Posted on Posted in Snippets

code-snippet-2

Here are some of the most recently published snippets!

How to declare a cursor in T-SQL

Be careful on using these lines as it can be time-consuming with respect to a batch operation.
Anyway, using a cursor is one of the most effective way to process records one by one.

Open the snippet

Author:    cghersi

C# LINQ ‘ascending’ and ‘descending’ Example


Open the snippet

Author:    jimonearth

C#: Replace pattern in a string with case-insensitive behavior

Same as String.Replace but with case-insensitive matches

Open the snippet

Author:    cghersi

Leave a Reply

Your email address will not be published. Required fields are marked *