Viewing 15 posts - 2,191 through 2,205 (of 5,590 total)
Stefan Krzywicki (12/6/2010)
December 6, 2010 at 6:30 pm
Anyone want to help an OP understand a Celko query?
(I did a ROFLMAO when I read the OPs handle. Seems to fit when talking 'bout Joe!)
December 6, 2010 at 5:59 pm
Craig Farrell (12/6/2010)
mister.magoo (12/6/2010)
HI Craig, can you explain why? It produces the correct answer for me...
It works just fine. Apologies, very nice solution. I'll be --------------> way for...
December 6, 2010 at 5:44 pm
Jeff Moden (12/6/2010)
Kit G (12/6/2010)
Steve Jones - SSC Editor (12/6/2010)
... It's actually impossible to get a real person at google.
Ah ha! I knew it! Google is run by...
December 6, 2010 at 5:29 pm
And for all the others you may need, check out the common date/time routines link in my signature.
December 6, 2010 at 3:05 pm
ken.trock (12/6/2010)
Select Distinct RCD.Variable4
FROM Route_Call_Detail RCD
WHERE RCD.[DateTime] > '12/4/10' AND RCD.[DateTime]...
December 6, 2010 at 12:41 pm
First, can you verify that this is NOT a homework / test / interview question?
Instead of doing this through a trigger, have you tried a filtered indexed view with either...
December 6, 2010 at 10:27 am
GilaMonster (12/5/2010)
sandippani (12/5/2010)
Have a look to this link :http://www.sql-server-performance.com/articles/per/temp_tables_vs_variables_p1.aspx
However note that the first 'fact' stated in that article is incorrect. Changes to table variables are logged. They don't participate in...
December 5, 2010 at 9:37 pm
:Heavy sigh:
:Bang head on desk:
Just spent 3 hours investigating a "discrepancy" in two reports that should match up. Has to be fixed before Monday. Finally figured out that they were...
December 5, 2010 at 9:26 pm
anitha.chacko (12/5/2010)
Please help me...Is it possible to run PL/SQL Procedures on Microsoft SQL Server 2000.If not,what changes do i need to make it run on SQL Server 2000.
"It depends". 😀
IF...
December 5, 2010 at 3:05 pm
If it's a named instance, you may need to connect by ServerName\InstanceName
December 3, 2010 at 10:22 pm
Well, the execution plan that you sent is just doing a "SELECT * FROM TestData". This results in a simple table scan of the TestData table. Which only tells me...
December 3, 2010 at 4:31 pm
Like this?
-- See how this starts off with a table and data in it?
-- If you had provided us the data in this format,
-- it would have made...
December 3, 2010 at 10:13 am
I don't see anything wrong with this query.
Questions:
1. What does the actual execution plan show?
2. How many records are in this table?
3. What indexes do you have on this table,...
December 3, 2010 at 7:01 am
I think you also need to consider the expense of maintaining all of those indexes. Every insert/delete will have multiple indexes to update. Updates can affect multiple also.
I think a...
December 3, 2010 at 6:49 am
Viewing 15 posts - 2,191 through 2,205 (of 5,590 total)