Forum Replies Created

Viewing 15 posts - 16 through 30 (of 91 total)

  • RE: Data Cache Issue

    Muhammad, yes I am running this using osql as well a through our application. Unfortunately this is SS 2000. It runs fast after the initial call.

  • RE: Data Cache Issue

    Jeffrey, this is as I expected. Would you have some SQL I could use to check the buffer cache hit ratio, page life expectancy and whatever is necessary? ...

  • RE: Data Cache Issue

    Jeffrey, what I mean is I am running it for the first time logging in. The server has been up for over 35 days and remains up. I...

  • RE: Writing SQL that prompts for values

    Sorry, I thought it was a syntax error as I stated above, but it was really a sqlcmd -v usage error. It now works. Thank you all for...

  • RE: Writing SQL that prompts for values

    Okay, this could be the answer if I can get the correct syntax. Here is the table DDL but it is giving an error:

    create table outlet

    (

    ...

  • RE: Writing SQL that prompts for values

    Gail, in Oracle it is built into SQL*Plus. I guess SQLCMD does not provide that functionality.

  • RE: Very slow SQL query.

    Here is the DDL. Thank you.

  • RE: Very slow SQL query.

    Lynn, this query is actually generated dynamically through a stored procedure based on input from the application. I have attached the query plan.

  • RE: Very slow SQL query.

    Mr. Kincaid,

    there are over 10 million rows in the tables. When forced to use the correct indexes, the LIKE clause poses no problems. The results return immediately.

  • RE: Very slow SQL query.

    The current collation is Latin1_General_BIN. Would there be any benefit in changing this possibly atthe column level? If so, to what? Also, you will notice in the...

  • RE: Very slow SQL query.

    Sorry for the delay in providing this. I have attached the DDL.

  • RE: Very slow SQL query.

    Would collation setting have anything to do with this type of performance issues?

  • RE: Very slow SQL query.

    Good point! I did re-write the query but it made no difference. Here is the query with the index hints which works well. It still needs the...

  • RE: Very slow SQL query.

    What would cause the SS optimizer to choose the wrong plan. The same query with index hints runs far better that the path taken by SS. Here are...

  • RE: Very slow SQL query.

    The zipped query plans are attached. The query with the like in it work well sporatically but the query with the substring works well all the time. Thank...

Viewing 15 posts - 16 through 30 (of 91 total)