Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.sqlserver.programming > #31278
| From | Erland Sommarskog <esquel@sommarskog.se> |
|---|---|
| Newsgroups | microsoft.public.sqlserver.programming |
| Subject | Re: Assigning Display Lines to Date Ranges |
| Date | 2015-11-12 22:44 +0100 |
| Organization | Erland Sommarskog |
| Message-ID | <XnsA550E759DB2DYazorman@127.0.0.1> (permalink) |
| References | <n20m6u$kn7$1@dont-email.me> |
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. A key question: which version of SQL Server are you using? -- Erland Sommarskog, Stockholm, esquel@sommarskog.se
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