Viewing 15 posts - 1 through 15 (of 36 total)
Ok, I am thinking this through and it might work. Does it make a difference if the datetime is part of my PK? The key on my table is...
February 11, 2015 at 11:12 am
Yep, i get the same results in BIDS and the report server.
Very frustrating.
September 15, 2014 at 1:16 pm
Interesting. See attached RDL for a similar layout to what i am working on. I did not apply any parameter filters in this test. The only filter is on...
September 15, 2014 at 12:11 pm
I guess i will play it safe and change these to IS Nothing rather than = Nothing, even though it appears to work.
I also occasionally use LEN(Fields!FieldName.Value) > 0) in...
August 4, 2014 at 10:54 am
Here is some sample data:
IF OBJECT_ID('TempDB..#Agents','U') IS NOT NULL
DROP TABLE #Agents
CREATE TABLE #Agents (
EmployeeNumber [varchar](8) NOT NULL,
Location [varchar](10) NULL,
ClockDate [datetime] NOT NULL,
CONSTRAINT [PK_Agents] PRIMARY KEY CLUSTERED
(
[EmployeeNumber] ASC,
[ClockDate] ASC
)WITH...
March 28, 2014 at 8:22 am
Isn't SET DATEFIRST a sever wide setting?
September 27, 2013 at 5:46 am
We don't own the calendar table, so that is not really an option.
Anyway, my boss and I came up with this code as an option as well:
DECLARE @someDate as DATE...
September 25, 2013 at 1:18 pm
A user on another forum suggested this:
DATEADD(dd,-DATEDIFF(dd,2, YourDateColumn)%7,CAST(YourDateColumn AS DATE))
DATEDIFF(dd,2,YourDateColumn) calculates the number of days between the value in YourDateColumn and the date represented by the number 2 - which...
September 25, 2013 at 9:01 am
So if I don't want to alter the contents of the SLHIH table directly, do I need to put the results of the query into a temp table and report...
May 9, 2013 at 8:23 am
I am still walking through these (have to work on something else this morning) but ChrisM, does this UPDATE actually update the SLHIH table, or does it just update the...
May 9, 2013 at 6:26 am
Ok, this is more than 10 records, but I wanted to be sure to cross a weekend and a holiday. I hope this is what you had in mind.
CREATE TABLE...
May 8, 2013 at 7:04 pm
I certainly could. What would be the best way to do so? As an attachment?
May 8, 2013 at 6:15 pm
Thank you very much for your patience and help, Sean. I really appreciate it.
So is a CTE kind of like a temp table to hold a dataset in table format?...
February 3, 2013 at 11:52 am
Well that burst my bubble. I have not given up on the suggestions you gave. I just don't understand them and cannot figure out how to make them worth with...
February 1, 2013 at 2:11 pm
OK. Yeah, i thought about making that assumption as well. At this point I am not sure if that is a fair assumption though.
Here is what i have come up...
February 1, 2013 at 1:53 pm
Viewing 15 posts - 1 through 15 (of 36 total)