Viewing 15 posts - 1 through 15 (of 16 total)
Hi, thanks for the notes; much appreciated! I don't know why the READ Uncommited was added. I inherited the maintenance of these stored procs from someone else. ...
December 7, 2011 at 9:47 am
Yes! This is what I've been trying and it works, but it takes a really long time; which I believe is due to the OR condition. I didn't...
April 8, 2011 at 12:30 pm
Thanks for the info on performance. I'm inheriting these stored procedures from another team and I'll pass this on to my boss to see if he wants to look...
March 8, 2011 at 2:46 pm
I got it to work! Thanks for the advice, it did the trick.
Here's my code:
ALTER PROCEDURE [dbo].[proc_Usage]
@custNumber CHAR(10),
@polNumber CHAR(7) = NULL,
@fromDate DATETIME = '1900/01/01',
@toDate DATETIME =...
March 8, 2011 at 2:12 pm
Thanks for all the help! Here's what I came up with for my January 1 date field:
CASE WHEN month(getdate()) = 1 THEN DATEADD(yy, DATEDIFF(yy, 0, GETDATE()) - 1, 0)...
October 13, 2010 at 1:08 pm
Thanks for the reply! How can I get a 1/1 date for the current year that will return 1/1 of the prior year when I use it in January?
October 13, 2010 at 12:27 pm
Hi, I saw this post and am interested in the topic. I 'm a newbie to SSRS and am exploring how I can dynamically change the connection string. ...
September 23, 2010 at 12:23 pm
I used your code and it works! However....when I go into Query Designer and add in my parameter names in the WHERE clause, it doesn't like the ampersand, (@)...
July 28, 2010 at 8:08 am
Can you clarify what you mean please? I'm sure this is a very elementary concept but I don't know what you're asking. I understand what you mean when...
July 28, 2010 at 7:42 am
OK. I'll let you know how it goes. Thanks again for all the help!
July 27, 2010 at 8:21 am
Ah, good point; I didn't see that. It was set to text but I just changed it now to Date/Time. I did a Build, but I'm still...
July 27, 2010 at 8:13 am
The date/time value shows up in the parameter boxes. (not the report)
July 27, 2010 at 7:56 am
Whoops, I spoke a little soon. The dateserial coding works, (doing the right dates) but the dateserial code is doing "MM/DD/YYYY : time". When I run the reports...
July 27, 2010 at 7:46 am
Ah, there we go, now it's working. Thanks again!!!
July 26, 2010 at 8:57 am
You did, a lot. One thing....I'm trying to get the last day of last month and not getting it. I keep getting May 30. The formula I...
July 26, 2010 at 8:48 am
Viewing 15 posts - 1 through 15 (of 16 total)