Viewing 15 posts - 121 through 135 (of 1,346 total)
Were trying to point out that since we do not have your tables or data we cannot tell you why the case is evaluating to N
Before running your update,
Run a...
October 24, 2012 at 4:11 pm
Using A CTE and some aggregates,
Please test this throroughly, No guarantees implied.
IF OBJECT_ID('TempDB..#mytable','U') IS NOT NULL
DROP TABLE #mytable
--===== Create the test table with
CREATE TABLE #mytable
( ID INT...
October 23, 2012 at 1:28 pm
Can you post additional information.
Other than trying to select the rows >= 7 Days What problem are you trying to solve here?
Please read this.
http://www.sqlservercentral.com/articles/Best+Practices/61537/%5B/url%5D
The requirement is very odd, and given...
October 23, 2012 at 8:47 am
Worth a look.
http://rsbuild.codeplex.com/%5B/url%5D
OR Possibly
http://msdn.microsoft.com/en-us/library/ms162839(v=sql.105).aspx
October 22, 2012 at 4:06 pm
Are you trying to do the equivilent of like a sql Union, ie
Show rows from the table, and below show rows from excel?
If not, how would you do this in...
October 22, 2012 at 3:57 pm
Leave the Date in the dataset as well as your Letter, and Group by The date, and use the Letter for your headers.
October 22, 2012 at 11:15 am
Same question different thread:
http://www.sqlservercentral.com/Forums/Topic947570-391-1.aspx
October 22, 2012 at 8:46 am
October 22, 2012 at 8:42 am
I am confused on what you call the data section. and row section.
sounds like you put the Expand and collapse on the actual detail row which will of course not...
October 19, 2012 at 9:33 am
What have you tried, and where are you getting stuck?
Please read this
http://www.sqlservercentral.com/articles/Best+Practices/61537/%5B/url%5D
Look up Case statement, and
group by Es
Or the Pivot Functions
October 18, 2012 at 3:52 pm
Like this?
"Select "+(DT_STR, 20, 1252)@[User::BatchID] + " as BatchID, '" +@[User::BatchDateISO] + "' as BatchDateISO, 'FH' as RecordType, 'AS400' as SourceSystem, " +RIGHT("00" + (DT_STR, 10, 1252)@[User::BatchID],2) + @[User::BatchDateISO] +...
October 18, 2012 at 1:14 pm
I'm not totally sure that this is the issue
However at the end of your proc I would modify it to this.
IF @XmlOutput IS NULL
SET @XmlOutput = '<Export/>'
SELECT @XmlOutput
I'm assuming your...
October 18, 2012 at 11:31 am
What does this mean?
I'm just guessing here.
You have 3 different reports.
And you want all 3 on the same page ie like a dashboard.
Create another report then place 1 subreport item...
October 18, 2012 at 11:14 am
Other than trying to explicity setting the lenght of the varchar.
convert(varchar(10), getdate(), 101) I'm guessing the proc is returning no data, when you leave this in there.
in the proc...
October 18, 2012 at 11:11 am
when you go in to the execute sql task editor, On the left on the Result set are you assigning the xml to a variable?
ResultName should = 0
and Variable name...
October 18, 2012 at 10:55 am
Viewing 15 posts - 121 through 135 (of 1,346 total)