Home > T-SQL Learning Guide
Learning Guide:
EMAIL THIS LICENSING & REPRINTS

T-SQL Learning Guide

20 Jul 2006 | SearchSQLServer.com editors

Expert advice on database development
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google

Transact-SQL (T-SQL) is Microsoft's enhanced version of the Structured Query Language (SQL) that includes transaction control, exception handling, error handling, row processing and more. SQL Server applications must be using T-SQL statements to communicate with the server, but how your T-SQL is written and run can ultimately impact your server performance. This learning guide offers you an introduction to all things T-SQL, from basic definitions to handy stored procedures to best and worst practices.

If you have T-SQL questions not addressed in this learning guide, visit Ask the SQL Server Expert to pose a question to development guru Greg Low. If you have your own handy stored procedures and T-SQL tricks, e-mail us and we'll post them on SearchSQLServer.com for all your peers to see.

TABLE OF CONTENTS
   T-SQL 101
   T-SQL stored procedures
   T-SQL best and worst practices
   T-SQL in SQL Server 2005
   T-SQL debugging
   T-SQL querying

  T-SQL 101 Return to Table of Contents

  • T-SQL definition
  • SQL vs. T-SQL
  • CLR vs. T-SQL stored procedures
  • T-SQL 101 Learning Center
  •   Handy T-SQL stored procedures Return to Table of Contents

  • Top five T-SQL stored procedures
  • Fast Guide: Undocumented stored procedures
  • Fast Guide: Stored procedures
  • Stored procedure: Generate code for ad-hoc data operations
  • Stored procedure: Easily filter for SQL Server connections
  • Stored procedure: Determine last database backup
  • Function to determine which service pack is installed
  • A surrogate key architecture to perform powerful database operations
  • All SearchSQLServer.com T-SQL stored procedures

      T-SQL best and worst practices Return to Table of Contents

  • T-SQL batch processing rules for SQL Server
  • How to restore SQL Server using T-SQL
  • Exception handling best practices in SQL Server 2005
  • How to optimize triggers in SQL Server 2000
  • Pitfalls of using T-SQL cursors
  • T-SQL performance problems and solutions
  • Vulnerable stored procedures
  • Working with Oracle stored procedures, applications and data
  •   T-SQL in SQL Server 2005 Return to Table of Contents

  • What's new with T-SQL in SQL Server 2005
  • Writing stored procedures without knowing T-SQL
  • Backward compatibility issues when upgrading to SQL Server 2005
  • Upgrading stored procedures in SQL Server 2005
  • Tuning stored procedures: Structured exception handling in SQL Server 2005
  • SQL Server 2005 DMVs: Exposing the state of your server
  •   T-SQL debugging Return to Table of Contents

  • How to debug T-SQL stored procedures
  • Sample debugging stored procedure
  • Where to start debugging the stored procedure
  • How to run the debugging stored procedure
  • Visual Studio debug windows
  • Alternatives for T-SQL debugging
  •   T-SQL querying Return to Table of Contents

  • Find and fix resource-intensive SQL Server queries
  • Query Analyzer: 10 tricks for simple querying
  • Run a T-SQL query to loop through all databases
  • Microsoft T-SQL performance tuning
  • Resolving a query error
  • Tracking query execution with SQL Server 2005 Profiler

  • Do you have your own handy stored procedures and T-SQL tricks? E-mail us your T-SQL tips and we'll post them on SearchSQLServer.com for all your peers to see. You'll also be entered into a drawing for a SQL Server book of your choice.



    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


    RELATED CONTENT
    SQL/Transact SQL (T-SQL)
    How to use rank function in SQL Server 2005
    Create a computed column in SQL Server using XML data
    Using the OUTPUT clause for practical SQL Server applications
    Create DDL table in SQL Server 2005 to audit DDL trigger activity
    SQL Server source code analysis and management adds database security
    SQL and SQL Server Tutorial and Reference Guide
    Retrieve XML data values with XQuery in SQL Server 2005
    How to construct and use SQL OUTER JOINs optimally
    How to use the LEFT vs. RIGHT OUTER JOIN in SQL
    Using the FULL OUTER JOIN in SQL
    SQL/Transact SQL (T-SQL) Research

    SQL Server stored procedures
    Check SQL Server database and log file size with this stored procedure
    SQL Server source code analysis and management adds database security
    SQL and SQL Server Tutorial and Reference Guide
    Configure SQL Server Service Broker for sending stored procedure data
    Find size of SQL Server tables and other objects with stored procedure
    Track changes to SQL Server 2000 and 2005 with one simple utility
    Troubleshoot SQL Server 2005 temporary table performance problems
    Use SQL Profiler to find long running stored procedures and commands
    Stored procedure to monitor long-running jobs in SQL Server 2000
    Using BULK INSERT to insert rows from SQL Server dataset to table

    SQL Server overview
    How to use rank function in SQL Server 2005
    SQL Server memory configurations for procedure cache and buffer cache
    Storage area network (SAN) basics every SQL Server DBA must know
    Open SSIS packages without validation using these SQL properties
    SQL Server PerfMon counters for access methods and buffer manager
    SQL and SQL Server Tutorial and Reference Guide
    Monitor SQL Server disk I/O with PerfMon counters
    Track changes to SQL Server 2000 and 2005 with one simple utility
    Tips for scheduling and testing SQL Server backups
    SQL Server tempdb best practices increase performance
    SQL Server overview Research

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    ACID  (SearchSQLServer.com)
    commit  (SearchSQLServer.com)
    DAO  (SearchSQLServer.com)
    fetch  (SearchSQLServer.com)
    OLE DB  (SearchSQLServer.com)
    query  (SearchSQLServer.com)
    SQL  (SearchSQLServer.com)
    T-SQL  (SearchSQLServer.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary


    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2005 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts