Viewing 10 posts - 1 through 10 (of 10 total)
Thank you again. I appreciate you giving your time to help newbies like me develop my understanding.
Regards
Andrew
March 5, 2014 at 3:46 am
Thanks for your response it is good to know that it could have been done without corruption - I was just being conservative due to the length of the recovery...
March 5, 2014 at 3:31 am
I think 'frank and fearless' is likely to be way more constructive than 'brutal'. If you have a group of people in a room, all pointing out shortcomings in...
August 6, 2012 at 6:23 am
mark hempen (6/15/2012)
June 16, 2012 at 2:14 am
Another suggestion from me would be to consider creating foreign key / unique / check constraints if they don't already exist. I initially do this in a local copy...
June 15, 2012 at 3:40 am
Depending on your constraints (coding standards etc) it may be possible to use Dynamic SQL to do this.
Google is your friend...
This should not be done lightly - I...
May 29, 2012 at 3:26 pm
How about
;with distinctMonths
as
(
select distinct dateadd(month,(t.[month]-1),
dateadd(year,(t.[year]-1900),0)) as MonthDate,
t.[MONTH],
t.[year]
from temp as t
),
earliestMonth
as
(
select t.PAN,min(dm.monthdate) as EarliestMonth
from distinctMonths as dm
INNER JOIN temp as t
on dm.Month = t.Month and
t.Year = dm.Year
group...
May 29, 2012 at 6:48 am
The execution plans - one with ix_ProblemIndex takes 1 min 20 sec to run, if you drop problem index you end up with less than a second.
May 29, 2012 at 5:30 am
For me, I would say the DMVs included in 2005 and later, including one I recently found very useful, sys.sql_dependencies. It allows you to find all the stored procs...
December 20, 2010 at 3:28 am
November 17, 2010 at 12:52 pm
Viewing 10 posts - 1 through 10 (of 10 total)