Viewing 15 posts - 331 through 345 (of 636 total)
Thanks all. This gives me several ways to approach the problem.
June 18, 2012 at 2:13 pm
Obsolete objects is such a huge issue. Is it technically feasible to track the last time any object was used or would the overhead of doing so be just too...
June 15, 2012 at 12:49 pm
I think what you are doing is completely reasonable, you can certainly insert your relevant statistics into a table and email them yourself. I didn't meant to overwhelm you, just...
June 15, 2012 at 9:30 am
The sessions I create and initialize every time the procedure runs. It facilitates logging if you want to record the history of the process.
I do tend to do this...
June 12, 2012 at 3:36 pm
If its more of an import status/validation I would go for the suggestion above by foxxo to use sp_send_dbmail.
Generally I use this pattern within a stored procedure.
-create an entry in...
June 12, 2012 at 10:39 am
I wish there was a 'retract my post function'....
May 24, 2012 at 4:21 pm
Excellent, I understand the code and the role of the the tally table. Thanks.
May 24, 2012 at 8:04 am
Thanks Jeff, when I don't understand the code I prefer that it performs well and is concise.
txtPost_CommentEmoticon(':-)');
May 23, 2012 at 10:43 pm
Thank you all again. I had never used a tally table.
Please allow me to ask a question which will clearly demonstrate I am still trying to understand the solution.
What's the...
May 23, 2012 at 10:01 pm
Sorry to answer my own question. I really did google this and I read the first 5 pages. On the sixth page I found
WHERE MyDate = DATEADD(dd, -DAY(DATEADD(m,1,MyDate)), DATEADD(m,1,MyDate))
May 17, 2012 at 4:07 pm
Thanks all. I'll pursue the role based approach.
May 17, 2012 at 9:19 am
Thanks. This is resolved and the world has been spared a bit of duplicative data entry.
May 15, 2012 at 8:14 am
How can I incorporate this into a query?
CREATE TABLE #MyCalendar
(
YearMonth char(6),
BinaryCode int
)
INSERT INTO #MyCalendar VALUES ('201205',235673648)
CREATE TABLE #MyData
(
MyDate datetime,
MyData int
)
INSERT INTO #MyData VALUES ('5/1/2012',1)
INSERT INTO #MyData VALUES ('5/5/2012',5)
INSERT INTO #MyData...
May 14, 2012 at 3:16 pm
Brilliant Mr. Miller you are exactly right.
May 14, 2012 at 2:20 pm
Viewing 15 posts - 331 through 345 (of 636 total)