Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.sqlserver.programming > #31279
| From | Michael Cole <invalid@invalid.com> |
|---|---|
| Newsgroups | microsoft.public.sqlserver.programming |
| Subject | Re: Assigning Display Lines to Date Ranges |
| Date | 2015-11-13 09:01 +1100 |
| Organization | A noiseless patient Spider |
| Message-ID | <n2325h$ror$1@dont-email.me> (permalink) |
| References | <n20m6u$kn7$1@dont-email.me> <XnsA550E759DB2DYazorman@127.0.0.1> |
Erland Sommarskog has brought this to us : > Michael Cole (invalid@invalid.com) writes: >> I would prefer a set-based solution, as there will be a lot of data to >> go though (about 1500 ranges) and it needs a response time of less than >> 15 seconds maximum (less than 10 would be better.) > > It is far from certain that a set-based query would be the fastest in > this case, although I have not tried anything yet. But if the ranges > are tied to different entities that are separate from each other, you could > iterate over the entities in parallel. They are. We are looking at about 70 entities, with a complete date range of about a year. Individual ranges of about a month. For the record, they are for bricklayers on new house builds. > > A key question: which version of SQL Server are you using? Its eventually going to end up on Azure. I'm not quite sure if that makes it more difficult... -- Michael Cole
Back to microsoft.public.sqlserver.programming | Previous | Next — Previous in thread | Next in thread | Find similar
Assigning Display Lines to Date Ranges Michael Cole <invalid@invalid.com> - 2015-11-12 11:25 +1100
Re: Assigning Display Lines to Date Ranges Erland Sommarskog <esquel@sommarskog.se> - 2015-11-12 22:44 +0100
Re: Assigning Display Lines to Date Ranges Michael Cole <invalid@invalid.com> - 2015-11-13 09:01 +1100
Re: Assigning Display Lines to Date Ranges Erland Sommarskog <esquel@sommarskog.se> - 2015-11-13 14:12 +0100
Re: Assigning Display Lines to Date Ranges Erland Sommarskog <esquel@sommarskog.se> - 2015-11-13 23:18 +0100
Re: Assigning Display Lines to Date Ranges Michael Cole <invalid@invalid.com> - 2015-11-16 11:34 +1100
Re: Assigning Display Lines to Date Ranges --CELKO-- <jcelko212@earthlink.net> - 2015-11-12 18:47 -0800
csiph-web