Thursday 20 October 2011

What is explain ?

Explain Command in Teradata provides an "ENGLISH" translation of the steps choosen by the optimizer to execute an SQL statement.This is used to analyze all joins and complex queries.


 The following is an example:-

EXPLAIN

select last_name,first_name FROM employees;


The EXPLAIN parses the SQL statement but does not execute it.

This provides the designer with an "execution stratergy".

The execution stratergy provides what an optimizer does but not why it choses them.


when you run a query with the EXPLAIN command, it would NOT return any result data set, as mentioned, it just returns the explanation on how the results

would be  returned, in case the query runs.

13 comments:

  1. Thanks for sharing.. its vey useful info. Also visit http://www.teradatawiki.net for teradata stuff

    ReplyDelete
  2. I am beginner in TeraData. Finally, I got my answer after many hours of surfing the web by reading your article. Hope to see more posts on this technology.

    ReplyDelete
  3. WOW! Really Nice Post! I personally believe that to maintain the standard of a blog all the hacks mentioned above are important. All points discussed were worth reading
    and I’ll surely work with them all one by one.

    CEH Training In Hyderbad

    ReplyDelete
  4. Thanks For Sharing
    Yaaron Studios is one of the rapidly growing editing studios in Hyderabad. We are the best Video Editing services in Hyderabad. We provides best graphic works like logo reveals, corporate presentation Etc. And also we gives the best Outdoor/Indoor shoots and Ad Making services.
    video editing studios in hyderabad
    short film editors in hyderabad
    corporate video editing studio in hyderabad
    ad making company in hyderabad

    ReplyDelete
  5. Nice Information
    "Pressure Vessel Design Course is one of the courses offered by Sanjary Academy in Hyderabad. We have offer professional
    Engineering Course like Piping Design Course,QA / QC Course,document Controller course,pressure Vessel Design Course,
    Welding Inspector Course, Quality Management Course, #Safety officer course."
    Piping Design Course in India­
    Piping Design Course in Hyderabad
    Piping Design Course in Hyderabad
    QA / QC Course
    QA / QC Course in india
    QA / QC Course in Hyderabad
    Document Controller course
    Pressure Vessel Design Course
    Welding Inspector Course
    Quality Management Course
    Quality Management Course in india
    Safety officer course

    ReplyDelete
  6. Thank you for sharing a wonderful post https://3zenx.com/social-media-optimization-course-in-hyderabad

    ReplyDelete
  7. Thank you for sharing a wonderful blog https://raghugaddam.com/best-search-engine-optimization-seo-training-in-hyderabad

    ReplyDelete
  8. A useful information based blog https://g2goverseas.com/france-education-visa-consultants-in-hyderabad

    ReplyDelete