MS SQL Server
  Home arrow MS SQL Server arrow Page 3 - Querying Databases in SQL Server 2005
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Querying Databases in SQL Server 2005
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 39
    2006-03-22

    Table of Contents:
  • Querying Databases in SQL Server 2005
  • Creating a Query
  • The Execution Plan
  • XML Queries, a Comparison

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Querying Databases in SQL Server 2005 - The Execution Plan


    (Page 3 of 4 )

    Again from the query menu, you can see the query Plan as in Fig.6. This plan is available for standard SQL statements and also for statements with the for XML clause. You might have observed that the tabs Messages and Results changed to Message, Execution Plan.

    Fig. 6

    The Query Designer

    One way to call up the query designer was discussed earlier (from Query ->Design Query Editor...). The other option is calling from the query pane. The areas in the query pane (refer to Fig.6) where the query is typed-in and the results plane have context sensitive drop-down menus. By right clicking in an empty area in the query pane and choosing appropriate item, you can make all changes to the query as well as wake up the Query Designer, as shown in Fig.7. This was a feature in Enterprise Manager in SQL 2000, if you recall; in Visual Interdev (Visual Studio 6.0); VS IDE 2003; and other Microsoft data related products. For instructions on using this designer please look up the Book on Line (the BOL), or here.

     

    Fig. 7

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


       · A new major version is like entering a new territory. You start discovering new...
     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT