Using cursors to read time series data from SQL Server using C#?
问题 I have a large database (50 million rows) containing time series data. There is a clustered index on the [datetime] column which ensures that that the table is always sorted in chronological order. What is the most performant way to read the rows of the table out into a C# app, on a row-by-row basis? 回答1: You should try this and find out. I just did, and saw no performance issues. USE [master] GO /****** Object: Database [HugeDatabase] Script Date: 06/27/2011 13:27:50 ******/ CREATE DATABASE