Viewing 15 posts - 46 through 60 (of 458 total)
SQLRNNR (1/12/2016)
I dunno about the "correct" answer on this one. The statements compile for me but produce an error at run-time. Seems to be a bit of a mixup here.
+1
January 13, 2016 at 7:32 am
<snip>
Jeff Moden (1/10/2016)
January 11, 2016 at 10:42 am
Interesting question. I learned something, b/c I don't use REPLICATE() for long strings.
The explanation from BOL is quite specific:
If string_expression is not of type varchar(max) or nvarchar(max), REPLICATE truncates...
January 11, 2016 at 10:19 am
Jeff Moden (1/7/2016)
Rich Mechaber (1/7/2016)
Hi, Jeff, we're all still waiting for this super-duper magical emailing code you allege to have concocted!:rolleyes:
Rich
First, thanks for responding. I had delete a whole...
January 8, 2016 at 6:25 am
Hi, Jeff, we're all still waiting for this super-duper magical emailing code you allege to have concocted!
:rolleyes:
Rich
January 7, 2016 at 12:45 pm
<snip>
Hugo Kornelis (12/31/2015)
January 6, 2016 at 10:56 am
You've probably got more material than you need by this point. This one's an old article, but I still find it useful to refer people to: https://www.simple-talk.com/sql/t-sql-programming/ten-common-sql-programming-mistakes/[/url].
My guess is...
January 5, 2016 at 8:23 am
Alan.B (1/4/2016)
First, for nested queries. CTEs make nested queries much more readable...
January 5, 2016 at 6:29 am
One of my more common uses of CTEs is to pre-assign row-ordered values like ROW_NUMBER(), NTILE(), etc., which I can then aggregate on in a final select.
Any kind of grouping...
January 4, 2016 at 10:35 am
ScottPletcher (12/22/2015)
December 23, 2015 at 9:21 am
DOH, misread the question: I thought I was supposed to return each year's HR and the delta from the previous year.
Tough to code properly when the brain is impatient...
Rich
December 22, 2015 at 11:06 am
It wasn't clear to me (I maybe skipped something posted): have you definitely identified the CPU pressure as originating from SQL Server? Are there other, non-SQL processes on the...
December 18, 2015 at 6:55 am
robert.sterbal 56890 (12/9/2015)
Because of the alphabet company my 5 year old daughter often asks me what a google plus some number is.
"googol"
Not trying to be pedantic, but I do like...
December 9, 2015 at 9:07 am
Following up on Thomas Rushton's suggestion, here are 3 links I've had bookmarked for quite some time for ideas to circumvent the lack of Agent in SQL Express. Haven't...
December 3, 2015 at 6:51 am
GilaMonster (12/1/2015)
polkadot (12/1/2015)
Seriously, does any team really have discussions about these things?
Yes, good teams do, because they know that making time to establish standards and practices saves time later on.
If...
December 2, 2015 at 11:17 am
Viewing 15 posts - 46 through 60 (of 458 total)