Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8421197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:05:00+00:00 2026-06-10T03:05:00+00:00

I been looking for some general Tips and Tricks for Query Opitimization in SQL

  • 0

I been looking for some general Tips and Tricks for Query Opitimization in SQL Server 2008.

I came accross the below which am quite unsure what are the consequences of using views / triggies

  • Try to replace views with original source table
  • Triggers should not be used if possible, incorporate the logic of trigger in stored
    procedure

Can someone shed light on these explaining pros and cons and also point me to list of general Tips and Tricks for Query optimization.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:05:02+00:00Added an answer on June 10, 2026 at 3:05 am

    A view is a virtual table formed from a query such as ‘SELECT a, b FROM tableC’ This creates a ‘virtual table’ of a & b. A source table is the table its self, and it is far more efficient to be able to ‘SELECT * FROM tableC’ so that a virtual table is not created.

    Triggers are events that are triggered when a specified event happens, such as a specific query. Stored procedures are compiled transactions and can function exactly like a trigger except they are far more efficient. In short, do not use triggers.

    I would seriously consider this http://www.amazon.com/SQL-Tuning-Dan-Tow/dp/0596005733/ref=sr_1_1?ie=UTF8&qid=1345679033&sr=8-1&keywords=sql+optimization

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been looking for some mechanism through which I can fetch android app's information
I've been looking at some Azure samples and doing some general searching around Table
Have been looking on some tutorials for drawing canvas using SurfaceView, but the only
Hi i have been looking for some solutions but i have found nothing... Is
I have been looking for some time for this and I can't seem to
I've been looking into some of the WYSIWYG editors (TinyMCE, FCKEditor, etc.) and they
I've been looking into some DHT systems, specially Pastry and Chord. I've read some
I have been looking through some code on an open source project recently and
I have been looking into AWS spot instances for some jobs however instead of
I have been looking for an answer for some time now, hope you could

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.