Viewing 15 posts - 901 through 915 (of 1,193 total)
Hi mate,
What values, if any, are you getting in the wait_type or blocking_session_id columns from sys.dm_exec_requests for the session the proc is running in?
Cheers
July 25, 2012 at 6:49 am
Phil Parkin (7/25/2012)
ChrisM@Work (7/25/2012)
Don't forget that TOP is meaningless without ORDER...
July 25, 2012 at 6:39 am
What error, if any, are you getting?
You should also check with the admins of the other domain that the account you're using has permission to send email to them.
July 25, 2012 at 6:00 am
You can reference fields from other datasets using expressions - something like =(Fields!Sales.Value, "DataSet2011"), but I think you'll be in a world of hurt trying to tie the data back...
July 25, 2012 at 5:56 am
Hi Carol,
I don't think you can change the datasource based on a parameter. You can create linked reports on the report server & change the datasource for each one though....
July 25, 2012 at 5:04 am
Nope, there's no built in way to do it - pretty much forced to roll our own solutions, as you've done.
The other way would be to create empty tables with...
July 25, 2012 at 4:59 am
Yep, the * in the selects will do that. Remove them & just list the fields you actually want, in the order you want.
It's generally bad practice to use *...
July 24, 2012 at 10:22 am
Hi mate,
You can't reference a column by it's alias in the same select in that way.
You can by selecting from a subquery though - think that's what you're trying to...
July 24, 2012 at 9:28 am
Hi Beth,
I don't use integrated mode, but can you connect to the RS instance via SSMS?
You can view Shared Schedules & reports that use each one in there. At least,...
July 24, 2012 at 9:12 am
lcarrethers (7/23/2012)
I use these two expressions to get totals by state:
1. =Iif(trim(First(Fields!SUTASTAT.Value, "DataSet5")) = "OK", Sum(Fields!FICAMWPR.Value, "DataSet5"),cdbl(0))+Iif(trim(First(Fields!SUTASTAT.Value, "DataSet5")) = "OK", Sum(Fields!FCASWPR.Value, "DataSet5"),cdbl(0))
2=Iif(trim(First(Fields!SUTASTAT.Value, "DataSet5")) = "LA", Sum(Fields!FICAMWPR.Value, "DataSet5"),cdbl(0))+Iif(trim(First(Fields!SUTASTAT.Value,...
July 24, 2012 at 9:08 am
Hi Eliza,
Been a while since I've done this, but can you create the interior calculation as a calculated field in the report?
Then do the exterior SUM on the calculated field?
Cheers
Gaz
Edit:...
July 24, 2012 at 7:59 am
In fact, I think that can be shortened:
SELECT z.username,
REPLACE(
CASE
WHEN z.agegroup = '1' AND CHARINDEX(',2,', ISNULL(z.profiles, '')) > 0 THEN REPLACE(z.profiles, '2', '')
WHEN z.agegroup = '2' AND CHARINDEX(',1,', ISNULL(z.profiles, ''))...
July 24, 2012 at 4:57 am
Hi Labri,
Is this any good to you?
SELECT z.username,
REPLACE(
CASE
WHEN z.gender= 'm' AND CHARINDEX(',f,', ISNULL(z.profiles, '')) > 0 THEN REPLACE(z.profiles, f, '')
WHEN z.gender = 'f' AND CHARINDEX(',m,', ISNULL(z.profiles, '')) >...
July 24, 2012 at 4:50 am
rodjkidd (7/24/2012)
July 24, 2012 at 4:36 am
Viewing 15 posts - 901 through 915 (of 1,193 total)