Forum Replies Created

Viewing 15 posts - 48,331 through 48,345 (of 49,571 total)

  • RE: Return the latest record

    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...

  • RE: Shouldn't this process faster?

    My pleasure. Glad I could help.

  • RE: Shouldn't this process faster?

    Jeff Wikle (10/25/2007)


    It appears, though, that my queries are getting more involved. Should I be looking to start creating Stored Procedures instead of having the whole query in my ASP?...

  • RE: Shouldn't this process faster?

    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...

  • RE: Shouldn't this process faster?

    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...

  • RE: Performance Issue!!Please help me

    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...

  • RE: Performance Issue!!Please help me

    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...

  • RE: TSQL by Duration(Respone Time)

    Cross post. Please continue discussions here

  • RE: Restoring SQL 2000 Backup to SQL 2005

    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,...

  • RE: Rate my performance

    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...

  • RE: Performance Issue!!Please help me

    Have you considered inplementing full-text indexing?

    Could you possibly post the schema and the query so we can take a look?

  • RE: Shouldn't this process faster?

    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...

  • RE: How many exams required to upgrade my MCDBA?

    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,...

  • RE: Which query is better - Please suggest if you have a new idea

    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 ......

  • RE: SHRINKFILE errors

    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...

Viewing 15 posts - 48,331 through 48,345 (of 49,571 total)