Viewing 15 posts - 35,131 through 35,145 (of 59,102 total)
Lynn Pettis (2/8/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2011 at 7:00 am
Wolfmeister (2/8/2011)
SwePeso (2/8/2011)
DECLARE @Sample VARCHAR(100) = '12345'
;WITH cte(CurrPos, LastPos, String)
AS (
SELECT1 AS CurrPos,
DATALENGTH(@Sample) AS LastPos,
CAST(@Sample AS VARCHAR(MAX)) AS String
UNION ALL
SELECTCurrPos + 1 AS CurrPos,
LastPos,
STUFF(String, 2 * CurrPos, 0, ',') AS...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 9:22 pm
lance.kentwell (2/8/2011)
SELECT DATEADD(s,0,DATEADD(mm, DATEDIFF(m,0,getdate())-1,0))
Then I take the result and convert it to epoch time suing...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 8:55 pm
{edit} Made a mistake... I'll be back.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 8:51 pm
@Sarvesh,
My recommendation at this point would be to rework the article so it doesn't have the data error with the postal code in the first line of test data and...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 8:45 pm
Andy DBA (2/8/2011)
I did not find this to be a good introductory article on DISTINCT. I gave this article 1 star and I have "the nads to say why".
That's more...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 8:39 pm
Brandie Tarvin (2/8/2011)
proper American English
According to some of my British friends, that's an oxymoron. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 4:46 pm
lcasamen (2/7/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 12:51 am
Wow... tough crowd. A bit cowardly too. People apparently have, so far, rated this article in the 1 or 2 star range but no one had the nads...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 12:27 am
I know that I've already posted on this thread but I've recently had the need to revisit the article and wanted to say "Thanks" again, Grant.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2011 at 11:27 pm
Heh... Wow! I just found this post. I guess I've been busy.
As you surmise, there are quite a few other "Modenisms". Unfortunately, being an old submarine sailor, most...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2011 at 11:02 pm
rockingadmin (2/7/2011)
i want to concatenate rows based on group of values in sqlserver 2000. from sqlserver 2005, we can use it in many ways like XPATH,CTE...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2011 at 4:34 pm
imlive (2/7/2011)
I am getting headache with this issue ; I have a job which ran over night and in the process it runs the procedure below. Last night...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2011 at 4:25 pm
CELKO (2/4/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2011 at 4:08 pm
Wolfmeister (2/7/2011)
No problem, largely thanks to your article on tally tables which I read just last week 🙂
🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2011 at 3:32 pm
Viewing 15 posts - 35,131 through 35,145 (of 59,102 total)