Viewing 15 posts - 541 through 555 (of 3,957 total)
Depending on how your data is set up, this might work for you too.
DECLARE @Chars2Remove VARCHAR(20) = 'ACDIPFJZ';
WITH RowsToCheck AS
(
SELECT s
FROM
...
December 18, 2014 at 3:49 am
John Hick-456673 (12/16/2014)
"WHERE a.Last_Status_DT >= DATEADD(day, -@LookbackDays, @CurrentDT)"
My preference would be to place the DATEADD clause in yet another variable...
December 16, 2014 at 4:50 pm
fregatepallada (12/15/2014)
How about user request to implement 5 different data interfaces for 5...
December 15, 2014 at 11:17 pm
dwain.c (12/15/2014)
I never said I was above my users. Heck, most of them get paid more than me anyway!
Actually I have the utmost respect for them. After all,...
December 15, 2014 at 11:15 pm
I never said I was above my users. Heck, most of them get paid more than me anyway!
December 15, 2014 at 10:49 pm
fregatepllada (12/15/2014)
December 15, 2014 at 4:57 pm
g.britton (11/6/2014)
declare @howmany int = 50;
with n1(n) as (select 1 from (values (1),(1),(1),(1),(1),(1),(1),(1),(1),(1)) n(n)),
...
November 6, 2014 at 4:55 pm
DonlSimpson (10/2/2014)
declare @t varchar(5000) = 'RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row." This-divided-by,that|&/multiplied\by(100)give*you,%;<percent>.'
declare @s-2 varchar(5000)...
October 2, 2014 at 5:51 pm
Jeff,
You are correct. Adding that TYPE/value to the FOR XML is going to kill the performance of the string cleaner I posted. Which of course, I mistakenly tried...
September 29, 2014 at 1:36 am
Stuart Pearson (9/26/2014)
Hi, I just successfully ran this in SQL 2012 using a database at compatibility level 80!!
Interesting. I wouldn't have thought that would be possible.
September 28, 2014 at 6:02 pm
Excellent article Gail and I rated it accordingly!
I particularly like you analogy to sunk costs. Surprising how few people understand that basic economic principle.
September 22, 2014 at 11:09 pm
fregatepllada (9/12/2014)
Does anybody try regex and XQUERY?
For this problem I personally have not. The solution is designed for folks that can't use CLR on their servers.
Thanks for taking a...
September 12, 2014 at 2:32 am
Jeff Moden (9/10/2014)
I wonder when they'll deprecate and discontinue SQLCLR.
Bwhahahahahahaha! Just imagine how much you'd make renting out your frozen pork chop launcher if they did!
September 10, 2014 at 4:01 am
Jeff Moden (9/5/2014)
The other thing that took...
September 7, 2014 at 5:58 pm
Meatloaf (9/3/2014)
For example, I have an EventID that may have many sub events.
Like, so by many, you mean more than 9?
September 4, 2014 at 1:25 am
Viewing 15 posts - 541 through 555 (of 3,957 total)