Viewing 15 posts - 346 through 360 (of 1,193 total)
Yep, the collate comes before the alias.
August 14, 2014 at 3:07 am
I think you're putting the collate clause in the wrong place, pretty sure it needs to be on one of the T0.ItemCode fields (assuming ItemCode is a character field)
Does this...
August 13, 2014 at 5:25 am
I don't think the WAIT_AT_LOW_PRIORITY option is valid in ALTER TABLE ADD
Looks like it can only be used in online index operations.
August 13, 2014 at 4:55 am
polkadot (8/12/2014)
=Fields!U_SentLeads.Value,...
August 13, 2014 at 4:13 am
Have you tried it with the same where clause in each section?
If that's not right, remove the where clause from the second/third section as appropriate.
Cheers
August 12, 2014 at 9:36 am
Hi,
If I'm reading your requirements correctly, you just need to add the same where clause to each section of the union:
select
property_name,
count(distinct lead_id) AS leads_sent,
1 as OrderField
from leadtracker
where ...
group...
August 12, 2014 at 8:52 am
Add another row at the bottom of the report, and give it an expression along the lines of:
=First(Fields!FieldName.Value, "DataSet2")
Where DataSet2 is the dataset containing the second query.
Can't remember the exact...
August 12, 2014 at 8:15 am
GO should be fine in script files when executed via sqlcmd.
I'll be damned if I can see where the problem is though if it isn't that.
Do you get the same...
August 12, 2014 at 7:28 am
Thanks Gail, that could be why it's 16KB, can't see a table that small needing 2 IAM pages?
August 11, 2014 at 4:56 am
Can you run it without the WITH NO_INFOMSGS & see what the output says?
Also add print ( @sql ) directly before/after exec ( @sql ) so you can see the...
August 11, 2014 at 4:42 am
August 11, 2014 at 4:27 am
I was wondering that myself John, whether or not a clustered index is considered in the 'index' part of sp_spaceused.
It's also worth noting a nonclustered index will need to include...
August 11, 2014 at 4:10 am
It's a client tool. You provide connection information to it for an existing machine with SQL Engine installed on it.
Visaul Studio also keeps a LocalDB version which is only accessible...
August 11, 2014 at 3:42 am
Are you declaring @pCNum in the dataset code?
In SSRS you don't declare the parameter in code. That's how BIDS determines it's a report parameter.
August 11, 2014 at 3:23 am
Viewing 15 posts - 346 through 360 (of 1,193 total)