Viewing 15 posts - 571 through 585 (of 3,348 total)
Not looping is "always" (yes, I know, there are some exceptions) faster than looping. If Kevin, Magoo, and Phil had not already posted their thoughts on this, I would have...
March 31, 2016 at 8:30 am
szejiekoh (3/30/2016)
March 31, 2016 at 8:22 am
Neither of these two forms is guaranteed to be faster than the other. But the plans will be different.
If you already have the values in a table, use form 1...
March 30, 2016 at 8:12 am
What Luis says. Create a small set of test data that illustrates the problem you are having. Anything above say a dozen rows is an indication that you either post...
March 30, 2016 at 8:00 am
Ed Wagner (3/30/2016)
djj (3/30/2016)
ThomasRushton (3/30/2016)
DonlSimpson (3/29/2016)
djj (3/29/2016)
Ed Wagner (3/29/2016)
crookj (3/29/2016)
Ed Wagner (3/29/2016)
Luis Cazares (3/29/2016)
djj (3/29/2016)
HappyGeek (3/29/2016)
Ed Wagner (3/29/2016)
djj (3/29/2016)
ThomasRushton (3/29/2016)
funghiCheese
Parmesano Reggiano
gout
Groot
Rocket
Launch
pad
Trim
Shim
Polyfill
parrot
Cracker
Password
$ecuR3
March 30, 2016 at 5:48 am
Option 1: (If the reports are SSRS reports)
Schedule them as subscriptions in SSRS
Option 2: (If the reports are not real reports but SQL stored procedures)
Schedule them as jobs in SQL...
March 30, 2016 at 5:40 am
I agree with what Jon says. The time data type is intended to store a time-of-day, not a duration. (I once worked for an employer who payd double for work...
March 30, 2016 at 5:38 am
To get a period of 100 days starting "now" (whenever now is), use a range that starts at "CAST(CURRENT_TIMESTAMP AS date)" and ends just before "DATEADD(day, 100, CAST(CURRENT_TIMESTAMP AS date))".
To...
March 30, 2016 at 5:29 am
I must admit that I did not fully analyze your tables. I will also add that I know nothing about how the UK police are organized.
But I did take a...
March 30, 2016 at 5:24 am
This sounds as if you're trying to build your own version of SSRS.
Why not use what is already there?
March 30, 2016 at 5:11 am
Frankly, I don't understand why anyone would be interested to compare performance between two queries that do not return the same results. At most one of them can be correct....
March 30, 2016 at 5:10 am
doasidont (3/29/2016)
March 30, 2016 at 12:12 am
Sean Lange (3/29/2016)
Finally!!! Somebody who claims experience with sql server that knows getdate().
Would you have skipped to page 3 if they had mentioned CURRENT_TIMESTAMP instead of getdate()?
March 29, 2016 at 2:57 pm
pietlinden (3/29/2016)
March 29, 2016 at 2:51 pm
nadersam (3/29/2016)
why don't we just make all varchar fields size to be 8000 the max size available?
Because if you do, the question does not become whether someone will end up...
March 29, 2016 at 2:44 pm
Viewing 15 posts - 571 through 585 (of 3,348 total)