Viewing 15 posts - 7,291 through 7,305 (of 8,760 total)
Here is a quick sample solution, much worse performance wise than Chris's but I put it forward more as an alternative method anyway.
😎
USE tempdb;
GO
;WITH TDOC(
[ID]...
August 28, 2014 at 12:48 pm
Here is a quick SQL 2K8 solution, toggles by the flag changes using self-join, SQL 2012 solution would be easier with running total;-)
😎
USE tempdb;
GO
create table #test ( num int ,orig_time...
August 28, 2014 at 8:00 am
Here is a quick solution, adds a row number to join the two sets
😎
IF OBJECT_ID('Tempdb..#tTable1') IS NOT NULL
DROP TABLE #tTable1
CREATE TABLE #tTable1(ID INT,
...
August 28, 2014 at 2:10 am
daz.chauhan (8/28/2014)
Please can someone help with the format of a field? I have a number field (well I have hundreds on a number of reports) and I need...
August 28, 2014 at 1:54 am
My apologies if I was out of line earlier, somehow I get kind of agitated when requirements focus more on HOW than WHAT, especially when it's incorrect.
The problem itself is...
August 28, 2014 at 1:01 am
Hi and welcome to the forum, complements on the fine DDL and sample data!
Not too clear on what you are after but please bear with me as I'm only on...
August 27, 2014 at 10:53 pm
errolthomasql (8/27/2014)
also, i am not going to be opening up...
August 27, 2014 at 10:10 pm
Quick question, why the non-standard representation of negative numbers? Just open the file in Excel and change the number formatting.
😎
August 27, 2014 at 2:52 pm
GilaMonster (8/27/2014)
Oh look, one of my pet peeves. Email validators
Brings back baaaad memories and resulting nightmares, when marketing, MIS, CRM teams etc. think there is a contained formula for email...
August 27, 2014 at 2:38 pm
Again, quick question, what version and edition of sql server (select @@version) are you on? You do know that it is kind of offensive not to answer questions when someone...
August 27, 2014 at 2:24 pm
Gazareth (8/27/2014)
It's a good idea to run an index defrag/rebuild afterwards though.
Don't know how...
August 27, 2014 at 2:17 pm
Robert Heynen-454800 (8/27/2014)
When the file is viewed as an ANSI encoded file, both chars show
When the file is viewed...
August 27, 2014 at 2:08 pm
rocky.paiano (8/27/2014)
I am performing analysis of linked servers across 2000-2008R2 and need to find/build a list of linked servers that are truly active. For the sake of the...
August 27, 2014 at 1:33 pm
ryetimothy (8/27/2014)
August 27, 2014 at 1:23 pm
Viewing 15 posts - 7,291 through 7,305 (of 8,760 total)