Viewing 15 posts - 22,081 through 22,095 (of 59,072 total)
ScottPletcher (12/30/2014)
Jeff Moden (12/30/2014)
What a lot of folks also miss is that you can add and subtract formatted times as constants instead of jumping through multiple datepart hoops, as well....
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 4:01 pm
Steve Jones - SSC Editor (12/30/2014)
I'd use the solution above to concatenate the values.
Agreed. Just make sure that you add TYPE correctly to de-entitize the return if it contains...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 3:35 pm
aochss (12/30/2014)
I have been programming in T-SQL for a while. I still love what I do since there is still so much to learn. I ran across...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 3:34 pm
Nice story, Joe but what on Earth does that have to do with the problem of stepping though databases or tables?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 3:17 pm
ScottPletcher (12/30/2014)
Jeff Moden (12/29/2014)
Phil Factor (12/29/2014)
We use only the 2 part name and let the synonyms do the rest of the work. Do you know of a way to do...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 3:11 pm
Stefan Krzywicki (12/30/2014)
GilaMonster (12/30/2014)
IncidentalProgrammer (12/29/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 7:51 am
BI_NewBie (12/29/2014)
Thanks a lot !!!Really appreciate the kind of help developers receive from this forums.
you guys Rock!!:cool:
You've marked a couple of things as your solutions but be very strongly advised...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 7:19 am
Truly a shot in the dark but I've seen worse. It could be that you need to clear cache on the desktop that you're running the code from.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 6:33 am
Eirikur Eiriksson (12/30/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 5:48 am
IncidentalProgrammer (12/29/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 5:24 am
peter-757102 (12/30/2014)
What I usually do is spend significant extra time in the data modelling phase.
With respect to performance, primarily how the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 30, 2014 at 5:13 am
BI_NewBie (12/29/2014)
Season's Greetings!!
Came across one scenario not able to find out how to do it..
Below is the table data
ColA
1
-1
2
-2
Need output in below way
ColA ColB
1 ...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2014 at 11:14 pm
Yep... when it comes to self-joins/multiple references, CTEs truly live up to the alternate name of "inline views". Like I said, it's sometimes MUCH more effective to direct the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2014 at 9:00 pm
Yes, you could try the ROWLOCK hint.
UPDATE dbo.Table_Name
WITH (ROWLOCK)
SET
[Col2] = @Col2,
[Col3] = @Col3,
[Col4] = @Col4,
[Col5] = @Col5,
[Col6] = @Col6,
[Col7] = @Col7,
[Col8] = @Col8,
[Col9] = @Col9,
[Col10] = @Col10,
[Col11]...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2014 at 7:47 pm
Phil Factor (12/29/2014)
We use only the 2 part name and let the synonyms do the rest of the work. Do you know of a way to do a SELECT from...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2014 at 7:09 pm
Viewing 15 posts - 22,081 through 22,095 (of 59,072 total)