Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2003
    Posts
    3

    Unanswered: determining query cost programatically

    I know SQL server query analyzer provides a tool for determining the cost of a query. But my question is does anyone know how to do this programatically from java or c#? Is there a simple statment I can run against the connection or is there information in the meta data? Thanks for the help.

  2. #2
    Join Date
    Aug 2003
    Posts
    3
    I forgot to mention that I'm using SQL Server 2000.

  3. #3
    Join Date
    Aug 2003
    Posts
    3
    I take it nobody knows how to do this?

  4. #4
    Join Date
    Jul 2003
    Location
    London
    Posts
    26
    Yes there are ways. I would invest in Microsoft SQL Server 2000 Performance Optimizations and Tuning Handbook ISBN 1 55558 241 9
    It shows you a lot of SQL code which will return this information for you. Also it is a very good book on performance tuning.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •