Viewing 15 posts - 6,316 through 6,330 (of 26,490 total)
Tammy-274861 (7/12/2014)
That is a good question. I was assuming that if the enrollment date is for instance 2/1/2013, that's when the enrollment starts and if termination date is on...
July 12, 2014 at 8:45 pm
Grant Fritchey (7/12/2014)
Just bumped by Gus on the Total Points board. Still behind him on the forum posts count.
Congrats!!
July 12, 2014 at 5:45 pm
Here are some comments regarding the code. Of course, the best way to learn what is happening is to break things down and display the parts in the query.
datediff(day,case...
July 12, 2014 at 5:36 pm
First change, I had the number of days in the active year hard coded. Wouldn't work for a leap year:
/*
Member ids that should be returned from the initial sample...
July 12, 2014 at 5:17 pm
Tammy-274861 (7/12/2014)
I am looking at your solution, sorry to bother again, but can you explain what you are doing here:
...
July 12, 2014 at 5:12 pm
Then dropping and recreating the clustered indexes on the new filegroup should do just what you are looking for here. A quick check of BOL seems to concur with...
July 12, 2014 at 1:52 pm
Question I have is this, are you just trying to move only indexes, meaning nonclustered indexes or are you actually move the tables to a new file group?
July 12, 2014 at 1:40 pm
Thank you.
I did make a slight change to itvf function in my post above.
July 12, 2014 at 10:57 am
Thought you'd like to see some code that will help:
declare @BirthDate date;
set @BirthDate = '1959-07-29';
select datediff(year,@BirthDate,getdate()) - case when dateadd(year,datediff(year,@BirthDate,getdate()),@BirthDate) > getdate()
...
July 12, 2014 at 10:05 am
enrique.mallon (7/12/2014)
Such condition arises when SQL Server database becomes deadlock and you are unable to perform action or transaction on it. It means that your SQL database got...
July 12, 2014 at 8:32 am
You are going to have to wait out the rollback. There is nothing you can do to speed it up.
July 12, 2014 at 8:24 am
One thing I learned at a previous employer, because I took the time to hone and advance my skills on my own time, I was able to get my employer...
July 11, 2014 at 8:16 pm
I stay away from the INFORMATION_SCHEMA views as well. As mentioned, they are incomplete when it comes quite a bit of information. Also, they are not as portable...
July 11, 2014 at 8:02 pm
Sean Lange (7/11/2014)
July 11, 2014 at 7:51 pm
I am assuming that you are not talking about a persisted calculated column. That calculation, iirc, is done once and then stored. It isn't updated unless the column...
July 11, 2014 at 7:50 pm
Viewing 15 posts - 6,316 through 6,330 (of 26,490 total)