• Create indexes on columns used in the where clause and on join columns.

    As for practical...

    Run the query, see what the execution plan looks like.

    Add an index.

    Run the query, see what the execution plan looks like, see if it's using your new index.

    Sounds vague, but that's pretty much how it's done.

    These may help.

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass