Troy DeMonbreun
Thursday, August 09, 2007
Use a Common Table Expression along with ROW_NUMBER() to Paginate Records in your SQL Server queries
You may be familiar with ROW_NUMBER(), but did you know you'll also need to combine that with a Common Table Expression (CTE) to paginate through your records?
Read more ...
.NET
|
ASP.NET
|
MS SQL
|
Transact-SQL
8/9/2007 8:16:44 PM (Central Daylight Time, UTC-05:00)
Disclaimer
|
Comments [0]
|
Thursday, February 15, 2007
.NET helper method to convert a SQL Query to CSV (comma separated value) format for output to file, HttpResponse, console, etc.
Free helper method to convert a SQL query to CSV format for easy output to a file, the console, or via a HttpResponse (for you ASP.NETers out there looking for an easy way to dynamically output a CSV for real-time data download).
Read more ...
.NET
|
ASP.NET
|
MS SQL
|
NUnit
|
VB.NET
2/15/2007 6:17:33 PM (Central Standard Time, UTC-06:00)
Disclaimer
|
Comments [0]
|
Wednesday, February 14, 2007
SQL Server 2000/2005 function to calculate distance in miles between 2 latitude/longitude points for zip radius search, etc.
Free SQL Server 2000/2005 function that will calculate the distance in miles between 2 latitude/longitude points for zip or address raduis search, etc.
Read more ...
MS SQL
|
Transact-SQL
2/14/2007 10:53:04 AM (Central Standard Time, UTC-06:00)
Disclaimer
|
Comments [6]
|
Tuesday, January 10, 2006
Making dynamic text form fields storage easier using .Net
What do I mean by dynamic text form fields? Let's say I have a table Contacts that stores typical contact information for a Contact Management system...
Read more ...
.NET
|
ASP.NET
|
MS SQL
|
VB.NET
1/10/2006 7:26:37 PM (Central Standard Time, UTC-06:00)
Disclaimer
|
Comments [0]
|
Friday, October 21, 2005
Creating a Comma-Delimited String from a Single-Column Query
MSSQL Syntax for creating a comma-delimited string from a single column query using only a single SELECT statement
Read more ...
MS SQL
|
Transact-SQL
10/21/2005 12:33:09 PM (Central Daylight Time, UTC-05:00)
Disclaimer
|
Comments [0]
|
Cross Tab (Row to Column) Generator - MSSQL Stored Procedure
A very useful MSSQL Stored Procedure that will generate a cross tab (pivot table in the Excel world) output
Read more ...
MS SQL
|
Transact-SQL
10/21/2005 11:59:06 AM (Central Daylight Time, UTC-05:00)
Disclaimer
|
Comments [0]
|
Me
Troy DeMonbreun
(dee mahn bree uhn)
Developer since '94.
Happily Married
Nashville
,
TN
View My Resume
Recommended Books
On this page....
Use a Common Table Expression along with ROW_NUMBER() to Paginate Records in your SQL Server queries
.NET helper method to convert a SQL Query to CSV (comma separated value) format for output to file, HttpResponse, console, etc.
SQL Server 2000/2005 function to calculate distance in miles between 2 latitude/longitude points for zip radius search, etc.
Making dynamic text form fields storage easier using .Net
Creating a Comma-Delimited String from a Single-Column Query
Cross Tab (Row to Column) Generator - MSSQL Stored Procedure
Categories
.NET
Architecture
ASP.NET
C_Sharp
Firefox
JavaScript
MS SQL
MVC
NUnit
Opinion
TDD
Tip
Transact-SQL
Unit Testing
VB.NET
web 2.0
May, 2008 (2)
February, 2008 (2)
November, 2007 (2)
October, 2007 (2)
September, 2007 (1)
August, 2007 (3)
May, 2007 (1)
February, 2007 (2)
January, 2007 (1)
December, 2006 (1)
September, 2006 (1)
January, 2006 (4)
December, 2005 (1)
November, 2005 (2)
October, 2005 (2)
Search
Navigation
Home
Blogroll
Evan Hoff
Jacob Proffitt
Karl Seguin
About
Powered by: newtelligence dasBlog 1.8.5223.2
© Copyright 2008, Troy DeMonbreun
E-mail