Viewing 15 posts - 571 through 585 (of 1,193 total)
Thanks, does select * from mysql_apply...apply_2 return the data sucessfully?
February 12, 2013 at 10:48 am
Is it (the second version with @StartDate and @EndDate commented out in the case statement) not populating the table at all, or just not with the values you expect?
(And, as...
February 12, 2013 at 10:44 am
Hi,
Are those values for the entire table, not just the matching rows? My feeling is SQL will grab all the data before trying the join.
Thanks
February 12, 2013 at 10:36 am
At a guess, you're encountering out-of-range values from MySQL (probably lovely old '0000-00-00 00:00:00') - if you can convert these to null it should work, I think. Last time I...
February 12, 2013 at 10:08 am
Hi,
What are you trying to do with @StartDate and @EndDate?
You can't have CASE statements in that format
It's either
CASE value
WHEN match THEN
or
CASE
WHEN (clause) THEN
You can't mix them up.
Cheers
Gaz
February 12, 2013 at 9:44 am
SSRS will pass the values through like this: 'ParamValue1, ParamValue2, ParamValue3'
You need something inside the proc to convert it to something like 'ParamValue1', 'ParamValue2', 'ParamValue3'
The splitter here will do that:...
February 12, 2013 at 5:29 am
Jeff Moden (2/11/2013)
February 12, 2013 at 5:15 am
I'm not so sure there's corruption anywhere - in the original query, there's 15 subselects chained together, most against the same table, and some in a different database. Think it...
February 11, 2013 at 5:34 am
craig.bates (2/7/2013)
February 7, 2013 at 7:21 am
David McKinney (2/7/2013)
It looks like you take everything in as a parameter, and then overwrite the value of each parameter...am I missing a subtlety? Why have the parameters?
Good point...
February 7, 2013 at 5:58 am
craig.bates (2/7/2013)
When it successfully runs I get this (which I don't really understand, why would a return value = the stored procedure, or is that just where the value is...
February 7, 2013 at 5:55 am
Not sure if it's the problem, but that query has a load of individual reads against tables that could be combined, if you do this:
Select @Date = GETDATE()
SELECT
@Shop_Order =...
February 7, 2013 at 5:44 am
You can do it in SQL in the dataset, or an expression in the report itself, both using substring and charindex/indexof:
SQL:
SUBSTRING(group_name, CHARINDEX('_', group_name), CHARINDEX('-', group_name) - CHARINDEX('_', group_name))
Expression:
=Substring(Fields!group_name.Value, Fields!group_name.IndexOf('_'), ...
February 4, 2013 at 4:14 am
rooierus (2/1/2013)
Thanks a bundle ! What I did notice though is that sp_spaceused often shows some index usage when queries using the index ID (0,1) don't.
Would that...
February 1, 2013 at 10:28 am
Raghavendra Mudugal (2/1/2013)
Dineshbabu (1/31/2013)
Actually I'm unable to understand the comments and answers properly. Problem is with the word "CLOBBER".....
Same here but after checking this http://en.wikipedia.org/wiki/Clobbering, it kind of eased the...
February 1, 2013 at 5:49 am
Viewing 15 posts - 571 through 585 (of 1,193 total)