Viewing 15 posts - 8,851 through 8,865 (of 26,490 total)
Always more than one way to skin a cat, even if it is the wrong thing to do.
Biggest unanswered question asked so far is why is this needed? Maybe...
February 5, 2013 at 8:43 pm
momba (2/5/2013)
:0( Now it says I'm missing the "GROUP BY" clause... (still working on it)...
No group by needed., forgot to take off the MAX.
WITH BaseData AS (
SELECT
...
February 5, 2013 at 2:20 pm
More like a picnic problem. That's what I get for writing code on a smartphone.
Thanks for catching the missing parens.
February 5, 2013 at 2:06 pm
SQLRNNR (2/5/2013)
Ray K (2/5/2013)
SQLRNNR (2/4/2013)
crookj (2/4/2013)
Daniel Bowlin (2/4/2013)
SQLRNNR (2/4/2013)
bcsims 90437 (2/1/2013)
sing4you (2/1/2013)
ToastMelty Peanut butter....Yum
NUTELLA - nuf said
mmmmmmmm
On Celery.....
On more nutella
On Prancer! On Vixen!
Rudolph
Olive (the other reindeer).
February 5, 2013 at 1:39 pm
momba (2/5/2013)
February 5, 2013 at 12:49 pm
Something like this:
SELECT
dt2.q1,
dt3.q2
FROM
(SELECT 1) dt1(n)
CROSS APPLY (SELECT COUNT(*) FROM dbo.Customers) dt2(q1)
...
February 5, 2013 at 12:39 pm
momba (2/5/2013)
When I run this query to just grab the emp_id I get 6474 but when I request more fields I get 6605?
select distinct CONVERT (varchar(9),EMPLOYEE_ID)...
February 5, 2013 at 11:38 am
shloghomes (2/5/2013)
I want to eliminate the SQLSTATE 01000 messages from the Backup command when calling it from a SQL Agent job. The output...
February 5, 2013 at 10:30 am
Not sure what /pit is, but shouldn't the date be in quotes, like this: "2013-01-29"?
You may need to check your Tivoli documentation to be sure of the switches you...
February 3, 2013 at 5:21 pm
Whoo Hooo! DTA to the rescue!!
February 3, 2013 at 5:13 pm
Also, still don't see DDL for the tables, indexes, or views, nor have I seen an actual execution plan. How many shots in the dark do you want before...
February 3, 2013 at 4:55 pm
saxena200 (2/3/2013)
i have allready removed all table hints like nolock and distinct count before creating the indexed view, tried noexpand also, still cant force optimizer to pick from IV
Once more...
February 3, 2013 at 4:54 pm
Also, have you tried using the NOEXPAND query hint when querying your indexed view?
February 3, 2013 at 4:24 pm
First, the query posted isn't an indexed view (has parameters in the query).
Sorry, just caught that those were commented out. The rest of this still stands.
Second, without table and...
February 3, 2013 at 4:21 pm
Okay, had to go purchase a new power supply as the none of the unused PCs I have had a viable power supply to swap in for the blown one....
February 2, 2013 at 2:37 pm
Viewing 15 posts - 8,851 through 8,865 (of 26,490 total)