Viewing 15 posts - 48,331 through 48,345 (of 49,571 total)
Catcha (10/25/2007)
Thanks for the solution. It works perfectly. What is the function over (Partition BY) does? What is the different between Over(Partition By) and Over(Order by).
Partition by is like grouping...
October 26, 2007 at 12:19 am
Jeff Wikle (10/25/2007)
October 25, 2007 at 8:44 am
Now you know the power of a well-placed index. 😀 Glad I could help.
As for your date. Easiest way is to do a range query on the logdate. We can...
October 25, 2007 at 8:05 am
Makes sense.
Try moving the cluster to logdate (or if you do queries by date and time, to a logdate and logtime together). Is not ideal, but is better than...
October 25, 2007 at 5:19 am
Osama Kandil (10/25/2007)
3. In all your T-SQL queries, you must use:if Varcharcol1 like '%chocolate' or Varchacol2 like '%chocolate' or .. Varchacol10 like '%chocolate' then ...
With wildcards at the begnning of...
October 25, 2007 at 1:17 am
Full text does sound like the best option.
If you don't want to go full text, and your queries are always of the form
SELECT FROM ItemDetail WHERE ItemcodeDescription...
October 25, 2007 at 1:05 am
Cross post. Please continue discussions here
October 25, 2007 at 12:56 am
It appears you have a user in the db named sys. Sys is reserved in 2005, it's the system schema.
Try changing the user name to something else in SQL 2000,...
October 25, 2007 at 12:52 am
Did you shrink the data files, or just the log file? If the data files, you need to check the index fragmentation as the shrink probably shuffled the index...
October 25, 2007 at 12:48 am
Have you considered inplementing full-text indexing?
Could you possibly post the schema and the query so we can take a look?
October 25, 2007 at 12:32 am
Ok, there's a few issues at play here.
Your filter (LEN(desthost)>1) is forcing a table scan, as any function on a column prevents usage of indexes for that condition. (See this...
October 25, 2007 at 12:20 am
Offhand, I'm not sure you can upgrade that. The upgrade path from MCDBA SQL 2000 to ITP Admin is 2 exams (70-431, 70-447) while the non-upgrade route is three. (70-431,...
October 24, 2007 at 3:00 pm
My instinct says the second should run faster, but there's only one way to really find out. Try them both out on a test server (wrapped in begin transaction ......
October 24, 2007 at 2:50 pm
CJR (10/24/2007)
I have the stats from perfmon on this now but need to analyze, I see the avg disk queue length was 16.4 with a max of 116.
Wow. Is that...
October 24, 2007 at 7:49 am
Viewing 15 posts - 48,331 through 48,345 (of 49,571 total)