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 6972831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:01:21+00:00 2026-05-27T17:01:21+00:00

From a comment on https://stackoverflow.com/a/11064/247702 You save the query planner from needing to figure

  • 0

From a comment on https://stackoverflow.com/a/11064/247702

You save the query planner from needing to figure that out by using
either Answer.Text or a.Text. It doesn’t matter whether you use the
table name or the alias, but qualifying the field helps.

Is this true for SQL Server 2008 when querying a single table? For example, will this

select
    mt.myfield
from
    mytable mt
where
    mt.myid = 1

be faster than this?

select
    myfield
from
    mytable
where
    myid = 1

I could test this ofcourse, but I don’t have a large enough dataset nor do I know how to reliably test SQL Server performance.

  • 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-05-27T17:01:22+00:00Added an answer on May 27, 2026 at 5:01 pm

    In the case that you presented I think it would be the same thing.

    The only problem might be when you join with multiple tables and the query optimizer needs to locate the column in the where clause (in all the tables). If you use aliases the query optimizer already knows to what table each column is.

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

Sidebar

Related Questions

This is a slightly modified example from the Java Sound info page. https://stackoverflow.com/tags/javasound/info Unfortunately,
Using tiny_mce from https://github.com/kete/tiny_mce to be able to change the format of the text,
In the comments here -- https://stackoverflow.com/a/9393138/8047 -- I discovered that BOOL has some unexpected
I am using jQuery resizable from interface.eyecon.ro/docs/resizable for a menu on a page that
Is there a library out there that will get you your approximate location using
It is a question build upon the previous question (http://stackoverflow.com/questions/6538448/r-how-to-write-a-loop-to-get-a-matrix). It is different from
I'm using this one: https://github.com/pinax/django-notification/blob/master/docs/usage.txt So, I followed all the steps. from notification import
I'm using the django_notification module. https://github.com/pinax/django-notification/blob/master/docs/usage.txt This is what I do in my code
I have download the source from https://github.com/ResultsDirect/LinkedIn-iPhone . Demo working fine, and try to
I'm using DynamicGuys doctrine2 integration into zend framework(https://github.com/dynamicguy/zf1doctrine2). It works, but if i want

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.