Forum Replies Created

Viewing 15 posts - 13,981 through 13,995 (of 14,953 total)

  • RE: Relative cost of index seek and bookmark lookup

    Steve F. (4/24/2008)


    If I have a query indexed to the point that its estimated execution plan basically looks like 3% index seek and 97% bookmark lookup, is there much point...

  • RE: Provider Load Error in Reporting Services

    Dang. I found an article online that had to do with this error on 64-bit machines, but it's not at all applicable to 32-bit systems.

    I'd say it's time to...

  • RE: Date Addition

    You could either join them or union them to put them together. Which are you looking for?

  • RE: When DTS is opened I cannot edit SQL 2005 Query Analyzer

    Most likely, it's "modal". Have you been able to get back to Management Studio by closing the DTS package?

    (I don't have any DTS packages to test this on. ...

  • RE: Provider Load Error in Reporting Services

    Is this on a 64-bit system?

  • RE: Image fields in group by clause

    What you can do, in some cases, is aggregate on a different column, in a derived table/CTE, then join to that using the image column.

    More likely, what you need to...

  • RE: Date Addition

    You're right. With aggregates, it matters. Some other things, too.

    I think for Art's query, the criteria in the Join statement will work best.

  • RE: CASE STATEMENT IN WHERE CLAUSE

    Graham (11/14/2006)


    From a performance point of view you would probably be better off having 2 stored procs, one for quantity and one for amount

    If they are separate, yep.

    Or if you...

  • RE: Identity Columns

    Michael Spencer (4/28/2008)


    Hmm, the question seems to assume that T-SQL is the easiest way to do this. I think using Management Studio is far "easier" and faster.

    Right...

  • RE: Error on a job run in SQL

    Have you tried recompiling the stored procedure? It looks like it needs to refresh the metadata, and that might do it.

  • RE: user definition function parameters -database name- use

    teo_erdem (4/28/2008)


    thank you ,

    but, may be 1000 database in SQL Server and database name i don't know...

    date is parameter use, but databasename is not parameters use..

    I don't understand your second...

  • RE: Row_Number and Union query

    Yes, the column has to be created before it can be used in a Where clause, in the case of Row_Number, Rank, etc.

  • RE: IN clause in CASE function.

    The problem isn't that you're using In in a Case statement. It's how it was written.

    Your original query doesn't have the word "Where" in it. That's the syntax...

  • RE: Date Addition

    Matt Miller (4/28/2008)


    GSquared (4/28/2008)


    Having StatusID and Active in your Where clause is getting rid of any rows that would have 0 in them. You need to move those to...

  • RE: detect trailing spaces

    That works, Jeremy. Not sure why anyone would do it, but it does work. 🙂

Viewing 15 posts - 13,981 through 13,995 (of 14,953 total)