Viewing 15 posts - 2,281 through 2,295 (of 8,731 total)
Steve Jones - SSC Editor (8/18/2016)
Luis Cazares (8/18/2016)
August 18, 2016 at 10:13 am
If you're going to generate the pivot in excel, just query the normalized data and create the pivot there. You can create a view which could be the source for...
August 18, 2016 at 9:18 am
We've got new laptops today at the office. Mine is missing SSMS. I guess I'll have to wait to be productive for some days (weeks?)
August 18, 2016 at 8:59 am
andrew gothard (8/17/2016)
Full -
allows you to restore to a point in time - say 4 seconds past 5 this afternoon when someone accidentally...
August 17, 2016 at 12:27 pm
I did test as well.
CREATE TABLE #Test(
Units decimal(10,5),
DesiredResult decimal(10,5),
);
INSERT INTO...
August 17, 2016 at 12:23 pm
ntreelevel (8/17/2016)
case when (units - floor(units)) < 0.49 then round(units,2)
when...
August 17, 2016 at 11:35 am
ChrisM@Work (8/9/2016)
TomThomson (8/9/2016)
Phil Parkin (8/9/2016)
This code was generated by a tool.
Does anyone else subconsciously say "You can say that again" whenever they read this comment in auto-generated code? 🙂
It's more...
August 17, 2016 at 7:07 am
Brandie Tarvin (8/17/2016)
Eirikur Eiriksson (8/17/2016)
BrainDonor (8/17/2016)
ChrisM@Work (8/17/2016)
We have git hubs all over the UK. They're also known as Weatherspoons.You owe me a new keyboard...
😀
...just managed to save mine
😎
I have apparently...
August 17, 2016 at 6:47 am
An additional clause should do the trick.
WITH CTE AS(
SELECT *, ROW_NUMBER() OVER( ORDER BY CASE WHEN seq = @OldSeq THEN @NewSeq
...
August 16, 2016 at 2:15 pm
What about this?
create table #temp(seq int,step varchar(50))
insert into #temp (seq,step) values (1,'do this first')
insert into #temp (seq,step) values (2,'then do this')
insert into #temp (seq,step) values (3,'finally do this')
insert into #temp...
August 16, 2016 at 1:48 pm
adam-639168 (8/16/2016)
August 16, 2016 at 1:12 pm
whereisSQL? (8/16/2016)
Ed Wagner (8/16/2016)
Ray K (8/16/2016)
Ed Wagner (8/16/2016)
whereisSQL? (8/16/2016)
HappyGeek (8/16/2016)
Grumpy DBA (8/16/2016)
Y.B. (8/16/2016)
PopSoda
Water
Ice
Broken
Wings
Hot
Buffalo
Bison
August 16, 2016 at 12:58 pm
I'd say that a bad plan is when estimates aren't similar to reality. That would cause choosing the wrong operation.
There's no such thing as a bad operator, there are only...
August 16, 2016 at 9:38 am
Jeff Moden (8/16/2016)
Luis Cazares (8/12/2016)
but minimal logging can make the log grow even more than normal logging
I've never seen actual minimal logging cause such a thing especially since about the...
August 16, 2016 at 8:07 am
ntreelevel (8/16/2016)
Hi all, Thank you for the answers but I figured out that using a case statements for custom rounding is the best way and it worked out
Do you mean...
August 16, 2016 at 6:50 am
Viewing 15 posts - 2,281 through 2,295 (of 8,731 total)