Viewing 15 posts - 826 through 840 (of 18,926 total)
kyadav (11/21/2011)
Standard Edition, will take a look tomorrow.Thanks for your time.
Regards,
Virendra
That eliminates anything we could have done with indexed views.
Can you add clustered indexes on the tables, or any indexes...
November 21, 2011 at 7:05 pm
kyadav (11/21/2011)
November 21, 2011 at 6:55 pm
kyadav (11/21/2011)
Query cannot be modified as it is being generated from third patry tool.Regards,
Virendra
Is it always generated the same way or does it change depending on user input (columns list,...
November 21, 2011 at 6:45 pm
Change the query to go in the tables only once rather than 1 gazillion times and you should be fine.
You can pivot the data like this.
SELECT SUM(CASE WHEN Date BETWEEN...
November 21, 2011 at 6:28 pm
Ah ok, my first answer just from the header was how the heck can that possbily be a problem :-D.
Thanks for the feedback.
November 21, 2011 at 6:23 pm
Jeff Moden (11/21/2011)
Ninja's_RGR'us (11/21/2011)
Jack Corbett (11/21/2011)
Ninja's_RGR'us (11/21/2011)
Jack Corbett (11/21/2011)
November 21, 2011 at 6:19 pm
If you want to get dirty with this =>
SELECT id, sum() into #tmp
create clustered index on sum
declare @max-2 int
or use the cursor here to get the max value
select @max-2 =...
November 21, 2011 at 4:04 pm
ry.sqldev (11/21/2011)
Data type is varchar(10)
You already have 2 ways to go about it.
What have you tried?
November 21, 2011 at 11:47 am
Evil Kraig F (11/21/2011)
November 21, 2011 at 11:42 am
IE, this works, slow as hell =>
use master ;
;
WITH CTE ( object_id, summ )
AS (
...
November 21, 2011 at 11:41 am
I've always checked all 3 fields.
It gives me both the .txt document and a way to do a select to do more complexe filtering.
I'm not 100% sure of the "best"...
November 21, 2011 at 11:39 am
Happy to help!
November 21, 2011 at 11:37 am
bomborde (11/21/2011)
Ninja's_RGR'us (11/21/2011)
GilaMonster (11/21/2011)
November 21, 2011 at 11:26 am
What's wrong with => replace (fieldname, '|3^VA', '|3^')
November 21, 2011 at 11:20 am
Srinivas MSBI (11/21/2011)
Query: Whenever StartDate is greater than EndDate, it should throw a warning says "StartDate should not greater than EndDate". Here Area, Country, ProductName, Segment...
November 21, 2011 at 11:18 am
Viewing 15 posts - 826 through 840 (of 18,926 total)