Viewing 15 posts - 24,271 through 24,285 (of 59,099 total)
pmadhavapeddi22 (2/27/2014)
select col_1 from table_1
inner join table_4
where table_4.id not in(select parent_id from table_4)
union
select col_1 from table_2
inner join table_4
where table_4.id not in(select parent_id from table_4)
union
select col_1 from table_3
inner join table_4
where table_4.id...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 9:25 am
d viz (2/27/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 8:58 am
Sean Lange (2/27/2014)
dogramone (2/26/2014)
IS there any specific reason you are using "DAY" within the datediff or did you mean to use d or dd?
Using the explicit value is generally considered...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 7:50 am
SQLRNNR (2/26/2014)
Jeff Moden (2/26/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 6:39 am
I guess "keeping the underscores" would be a prob lem for the OP, though. His original format had no underscores.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 6:34 am
Koen Verbeeck (2/26/2014)
I believe the date functions are more precise in that aspect.
I certainly agree that the date functions make life a whole lot easier in certain areas but I...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 6:20 am
I agree. Beer popsicles are in order for this one. Thanks for sharing the nature of it all. Heh... sounds like a lot of "fun". This...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2014 at 10:40 pm
Ed Wagner (2/26/2014)
... and it does 1M rows in about 12 seconds.
Heh... damn. I must be gettin' old and starting to slip. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2014 at 10:32 pm
ricardo_chicas (2/26/2014)
That is what I suspect, but what I do not understand is why the management studio says that the query ended succesfully...
Time to turn the tables. Ask him...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2014 at 9:56 pm
pietero 48156 (2/26/2014)
Just entered a new role in my company as junior DBA.
I am looking for assistance or guidance with regards to a script to see the weekly growth of...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2014 at 9:51 pm
Lempster (1/29/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2014 at 9:33 pm
Jako de Wet (2/26/2014)
Thanks KevinWill read through it tomorrow.
Interested to read how to get info back in a query that requires more than a plain join.
Do the functions have the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2014 at 9:25 pm
Koen Verbeeck (2/26/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2014 at 9:19 pm
Avoid the RBAR. Make a persisted computed column that uses a formula like MTRANS_ID%999+1. Yeah... it'll have gaps, now and again... just like the IDENTITY column
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2014 at 9:06 pm
amandaallen243 (2/26/2014)
2Tall (4/12/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2014 at 9:03 pm
Viewing 15 posts - 24,271 through 24,285 (of 59,099 total)