Viewing 15 posts - 931 through 945 (of 5,504 total)
I think you can remove this block:
OR A.[MESSAGE] LIKE '%[$][0-9] OFF%'
OR A.[MESSAGE] LIKE '%[$][0-9][0-9] OFF%'
OR A.[MESSAGE] LIKE '%[$][0-9][0-9][0-9] OFF%'
OR A.[MESSAGE] LIKE '%[$][0-9].[0-9][0-9] OFF%'
OR A.[MESSAGE] LIKE '%[$][0-9][0-9].[0-9][0-9] OFF%'
OR A.[MESSAGE] LIKE '%[$][0-9][0-9][0-9].[0-9][0-9]...
September 20, 2011 at 2:10 pm
Why don't you use referential integrity (foreign key) with cascade delete?
September 20, 2011 at 2:03 pm
For some reason SQL Server does not accept the data as valid XML.
I get the error "XML parsing: line 3, character 75, semicolon expected"
September 20, 2011 at 1:24 pm
We just need to be careful: once we're short on apostrophes, quite a few letters (including the "blank") will be in highe demand, too. (It's vs. it is not, won't...
September 20, 2011 at 1:11 pm
Don't get confused by CELKO's reply.
He's a strong advocat of ISO style programming and the usage of exactly the right terms / names when asking questions or naming a column....
September 20, 2011 at 2:09 am
ColdCoffee (9/19/2011)
LutzM (9/19/2011)
ColdCoffee (9/19/2011)
tina 77078 (9/19/2011)
Thanks Lutz, my new BFF..can i be ur BFF also ?? :ermm:
Hey folks,
just keep in mind, this is still a professional SQL Server site....
September 19, 2011 at 4:55 pm
WayneS (9/19/2011)
LutzM (9/19/2011)
WayneS (9/19/2011)
Slow compared to QU, but still faster than c.u.r.s.o.r.
Maybe I ought to do some comparison tests with Hugo's set-based methods, and others that come out of this...
September 19, 2011 at 4:44 pm
ColdCoffee (9/19/2011)
tina 77078 (9/19/2011)
Thanks Lutz, my new BFF..can i be ur BFF also ?? :ermm:
Hey folks,
just keep in mind, this is still a professional SQL Server site. 😎
September 19, 2011 at 4:22 pm
OUCH!!! My fault!! Total simple error:
SELECT
SUM (CASE WHEN SomeDate > ='20100701' and SomeDate < '20110701' THEN YourValue ELSE 0 END) as FY2011,
SUM (CASE WHEN SomeDate > ='20110701' and SomeDate...
September 19, 2011 at 2:18 pm
The order used to process the data leads to a NULL value at the last pass (after delete of the last row SELECT @db will return NULL. When you concatenate...
September 19, 2011 at 2:06 pm
Most likely it's due to the usage of FLOAT and DOUBLE. There might be some rounding differences.
Do you really need FLOAT on the SQL Server side? I 'd recommend to...
September 19, 2011 at 1:48 pm
The easiest solution would be a calendar table where you'd have a separate column to identify the fiscal year.
But you could also use a CASE function:
SELECT
SUM (SELECT CASE WHEN...
September 19, 2011 at 1:37 pm
WayneS (9/19/2011)
Gianluca Sartori (9/19/2011)
WayneS (9/19/2011)
Opinions wanted: Is it fair to post a Denali solution?Fair but slow, based on your performance tests.
Slow compared to QU, but still faster than c.u.r.s.o.r.
Maybe I...
September 19, 2011 at 1:27 pm
Ninja's_RGR'us (9/17/2011)
LutzM (9/17/2011)
Lynn Pettis (9/17/2011)
We are getting close. Who will be the lucky winner making the 30,000 post to The Thread???
I don't think so...
If the post count is still...
September 17, 2011 at 6:41 pm
Tom.Thomson (9/17/2011)
LutzM (9/17/2011)
Lynn Pettis (9/17/2011)
We are getting close. Who will be the lucky winner making the 30,000 post to The Thread???
I don't think so...
If the post count is still...
September 17, 2011 at 6:38 pm
Viewing 15 posts - 931 through 945 (of 5,504 total)