Viewing 15 posts - 3,901 through 3,915 (of 15,381 total)
jcrawf02 (9/8/2014)
Jack Corbett (9/8/2014)
Sean Lange (9/8/2014)
September 8, 2014 at 3:32 pm
Just for grins here is another way to do this. This is a little convoluted but I want to use integer math for this. 😀
create table #SomeDates (MyDate datetime)
insert #SomeDates
select...
September 8, 2014 at 1:13 pm
Ed Wagner (9/8/2014)
Sean Lange (9/8/2014)
September 8, 2014 at 10:03 am
Sometimes being a parent is really difficult. I have been coaching both of my boys soccer teams for a long time. As an adult who plays it is immensely rewarding...
September 8, 2014 at 9:45 am
WayneS (9/8/2014)
Sean Lange (9/5/2014)It is truly a shame. He has so much he could offer to anybody in this profession but his demeanor online has jaded me so much I...
September 8, 2014 at 9:40 am
ramana3327 (9/8/2014)
I created a view in dev box. I need to deploy that in the production.
How to create deployment scripts for the views with all the commands needed to deploy...
September 8, 2014 at 7:51 am
navie22 (9/5/2014)
AND MT.TRANSACTIONDATE BETWEEN DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE())-2, 0) --First day 2 months ago
AND DATEADD(MILLISECOND, - 3, DATEADD(MONTH,...
September 5, 2014 at 1:07 pm
Assuming the schema are identical it is most likely going to be fragmented indexes or stale statistics. Another option is it might data quantity of data revealing a nonperformant query.
What...
September 5, 2014 at 12:35 pm
Ed Wagner (9/5/2014)
crookj (9/5/2014)
djj (9/5/2014)
Revenant (9/5/2014)
Ed Wagner (9/5/2014)
crookj (9/5/2014)
Vimal Lohani (9/5/2014)
Ed Wagner (9/5/2014)
BWFC (9/5/2014)
TomThomson (9/5/2014)
Ed Wagner (9/5/2014)
BWFC (9/5/2014)
TomThomson (9/4/2014)
Ed Wagner (9/4/2014)
djj (9/4/2014)
Ed Wagner (9/4/2014)
Revenant (9/4/2014)
SQLRNNR (9/4/2014)
silverspoon
Feed
Qats
Granola
Museli
Sawdust
Project
Projectile
Pork chop
Launch
Filch
Finch
Yellow
Journalism
School
Fish
Boat
Capsize
September 5, 2014 at 12:28 pm
Is there a reason you need your data denormalized like this? Would seem easier if you just calculate xMonths ago as needed.
You could just add some additional columns to your...
September 5, 2014 at 12:20 pm
cphite (9/5/2014)
jcrawf02 (9/4/2014)
Ed Wagner (9/4/2014)
Koen Verbeeck (9/4/2014)
andrew gothard (9/4/2014)
Gazareth (9/3/2014)
I've just been told: "We don't recommend running SQL commands against the database"Right. May as well go home then!
You know Chris...
September 5, 2014 at 12:13 pm
Dynamic sql is the only option here.
September 5, 2014 at 10:49 am
Solomon Rutzky (9/4/2014)
Hi Sean. In the case of:
Bob,Sally,
The result should be 3 records:
Bob
Sally
{empty string}
A NULL cannot be there as it was a non-NULL string that was split. And there...
September 4, 2014 at 2:12 pm
Solomon Rutzky (9/4/2014)
Lynn Pettis (9/4/2014)
Solomon Rutzky (9/4/2014)
September 4, 2014 at 1:55 pm
Grant Fritchey (9/4/2014)
Koen Verbeeck (9/4/2014)
Roy Ernest (9/4/2014)
There was not SQL Saturday this year. We will have one during memorial day weekend next year.
Jack, hopefully we can meet...
September 4, 2014 at 1:51 pm
Viewing 15 posts - 3,901 through 3,915 (of 15,381 total)