Toad For SQL Server Vs Query Analyzer
Toad For SQL Server Vs Query Analyzer
Toad For SQL Server Vs Query Analyzer
Query Analyzer
NTC
2008
CHAPTER 1
INTRODUCTION
1.1 Background
Most SQL Server development is done using SQL Server Enterprise Manager
or Query Analyzer. The former provides a nice, hierarchical view of the entire server
and its attendant database objects, but has many limitations. Before working in a
Query Analyzer, we should to join to the server because all data which related with database
that will be made stored all in a server. Many way to read, maintain data, and other in a server
includes Toad for SQL Server.
Quest Software Inc.'s TOAD for SQL Server was written to address many of
these problems and solve a few others for good measure. TOAD is a development
environment for SQL Server that also works as an object explorer, dependency
checker and object manager.
The free version of TOAD is fully functional, but it expires after 90 days and
must be reinstalled. The commercial version includes advanced features such as
tuning and modeling functions, a powerful stored procedure debugger and more. This
is one of the choices or tool alternative to perform database management system in
every environment.
1
Toad for SQL Server vs. Query Analyzer
NTC
2008
1.3 Purpose
The purposes of creating this article are:
1. To know what is the history of Toad and Query analyzer
2. To know the features of each tools program those are Toad and Query analyzer
3. To know consideration for each tools program
1.4 Benefit
1. Give tool alternative to user not only query analyzer for maintaining database
2. Gives and Increases SQL developer of database productivity and maintenance
3. Give information about Toad and Query Analyzer in SQL Server 2000 also
each benefit inside
2
Toad for SQL Server vs. Query Analyzer
NTC
2008
CHAPTER 2
CONTENT
We explain about the history of Query Analyzer and Toad for SQL Server,
benefits of each tools program, and the features that are facilitated in every
program.
CHAPTER 3
ANALISYS
We will explain about some considerations inside the programs, which are
about features, tool option, and interface of every program.
CHAPTER 4
CLOSING
We explain conclusion and suggestion about these explanations above.
This chapter explains about conclusion and suggestion.
BIBLIOGRAPHY
3
Toad for SQL Server vs. Query Analyzer
NTC
2008
CHAPTER 2
CONTENT
Toad for SQL Server is a database development and administration tool that
increases user productivity and ensures optimal code quality for the SQL Server
environment. Toad for SQL Server also is an application development tool built
around a single integrated SQL, T-SQL, and Procedure Editor. Using Toad,
developers can build and test T-SQL code and can use the Browser to quickly access,
create and edit database objects. Toad lets you view tables, indexes, stored procedures
and more - all through a multi-tabbed browser.
One of the most frequent requests from Toad for Oracle customers is to extend
Toad to cover additional database technologies. Toad for SQL Server, Toad for DB2,
and Toad for MySQL are several new versions of Toad, which address this need in
the Database Technology market.
With Toad SQL Server users can reduce the bugs in their applications, build
the highest quality code faster, and maximize application performance – all while
integrating with current version control software for collaboration. The result is
reduced time to market.
More than one million database professionals have chosen Toad® as their
integrated environment for development and administration. From its simple
navigation and smooth workflow, to its advanced T-SQL debugging, optimization and
administration capabilities, Toad for SQL Server is ideal for SQL Server users of all
skill sets and experience levels
4
Toad for SQL Server vs. Query Analyzer
NTC
2008
2.2 The History of Query Analyzer
5
Toad for SQL Server vs. Query Analyzer
NTC
2008
SQL queries allow the user to specify a description of the desired result set,
but it is left to the devices of the database management system (DBMS) to plan,
optimize, and perform the physical operations necessary to produce that result set in
as efficient a manner as possible. An SQL query includes a list of columns to be
included in the final result immediately following the SELECT keyword. SELECT is
the most complex statement in SQL, with several optional keywords and clauses,
including:
1. The FROM clause which indicates the source table or tables from which the
data is to be retrieved. The FROM clause can include optional JOIN clauses to
join related tables to one another based on user-specified criteria.
2. The WHERE clause includes a comparison predicate, which is used to restrict
the number of rows returned by the query. The WHERE clause is applied
before the GROUP BY clause. The WHERE clause eliminates all rows from
the result set where the comparison predicate does not evaluate to True.
3. The GROUP BY clause is used to combine, or group, rows with related values
into elements of a smaller set of rows. GROUP BY is often used in
conjunction with SQL aggregate functions or to eliminate duplicate rows from
a result set.
4. The HAVING clause includes a comparison predicate used to eliminate rows
after the GROUP BY clause is applied to the result set. Because it acts on the
results of the GROUP BY clause, aggregate functions can be used in the
HAVING clause predicate.
5. The ORDER BY clause is used to identify which columns are used to sort the
resulting data, and in which order they should be sorted (options are ascending
or descending). The order of rows returned by an SQL query is never
guaranteed unless an ORDER BY clause is specified.
The following is an example of a SELECT query that returns a list of
expensive books. The query retrieves all rows from the books table in which the price
column contains a value greater than 100.00. The result is sorted in ascending order
by title. The asterisk (*) in the select list indicates that all columns of the books table
should be included in the result set.
6
Toad for SQL Server vs. Query Analyzer
NTC
2008
2.3 Features inside Tools Program
2.3.1.1 General
1. Editor:
7
Toad for SQL Server vs. Query Analyzer
NTC
2008
2. Query Builder:
After creating the sub query, click the parent query in the Queries
panel to return to the original query. A From Clause Sub query table now
displays in the Diagram panel with all the columns in the sub query. Use this
new table as you would any other database object.
B. Date ranges.
Date Range tags are also useful when executing SQL statements from
Automation. You no longer have to edit regularly executed queries to change a
date range when you need to retrieve data every month for the previous month.
C. Log Reader.
Log Reader server components are now supported on x64 servers and
Windows Vista.
8
Toad for SQL Server vs. Query Analyzer
NTC
2008
Data Compare. Provides the ability to:
1. Compare tables and views that have different owners, different names,
or different column names.
2. Compare tables that do not have primary keys.
3. Compare specific columns of a table.
4. Change Data Compare project parameters through the Change Data
wizard.
5. Connections listed in Data Compare are better integrated with
environment in that it now displays connections based on the
connections in the Connection Manager.
Microsoft SQL Server 2000 SQL Query Analyzer is a graphical tool that allows you to:
a. Create queries and other SQL scripts and execute them against SQL Server
databases. (Query window)
b. Quickly create commonly used database objects from predefined scripts.
(Templates)
c. Quickly copy existing database objects. (Object Browser scripting feature)
d. Execute stored procedures without knowing the parameters. (Object Browser
procedure execution feature)
e. Debug stored procedures. (T-SQL Debugger)
9
Toad for SQL Server vs. Query Analyzer
NTC
2008
f. Debug query performance problems. (Show Execution Plan, Show Server
Trace, Show Client Statistics, Index Tuning Wizard)
g. Locate objects within databases (object search feature), or view and work with
objects. (Object Browser)
h. Quickly insert, update, or delete rows in a table. (Open Table window)
i. Create keyboard shortcuts for frequently used queries. (custom query shortcuts
feature)
j. Add frequently used commands to the Tools menu. (customized Tools menu
feature)
You can run SQL Query Analyzer directly from the Start menu, or you run it from
inside SQL Server Enterprise Manager. You can also run SQL Query Analyzer from
the command prompt by executing the “isqlw” utility.
10
Toad for SQL Server vs. Query Analyzer
NTC
2008
CHAPTER III
ANALYSIS
For Developers Toad for SQL Server have many benefits, such as:
a. Build high-quality code quickly and efficiently
b. Integrate with Version Control
c. Format scripts and SQL statements
d. Access SQL Server Expertise
e. Optimize queries
f. Validate and test application code for performance and scalability
g. Compare and synchronize data, schemas and servers
h. Compare scripts and database objects
i. Visualize tables, dependencies and database relationships
j. Build and share project files
k. Create/Edit/View/Alter objects and data
11
Toad for SQL Server vs. Query Analyzer
NTC
2008
3.2 Benefit of Query Analyzer
a. This component enables programmers to develop and test Transact-SQL
statements interactively.
b. It includes aids such as a graphical display of the execution plan and
performance statistics of a Transact-SQL statement.
c. It color-codes the different syntax elements to increase the readability of
Transact-SQL statements, and includes an integrated Transact-SQL debugger.
d. It also has an Object Browser that determines the attributes of the tables,
views, stored procedures, and other objects in a database, and supports
templates used to speed the building of complex statements.
3.3 The Consideration between Toad for SQL Server and Query Analyzer
1. Query Analyzer
12
Toad for SQL Server vs. Query Analyzer
NTC
2008
13
Toad for SQL Server vs. Query Analyzer
NTC
2008
14
Toad for SQL Server vs. Query Analyzer
NTC
2008
3.3.2 The Tools Option
Generally the options in Toad are more complex than Query Analyzer, but the
tool options in Toad for SQL Server is commonly used with us. Exactly the basic
function are same, it just the addition from developer of software to make easy
maintain in complex database.
Picture 3.4 Toads for SQL Server and Query Analyzer Tools Option
15
Toad for SQL Server vs. Query Analyzer
NTC
2008
CHAPTER IV
CLOSING
4.1 Conclusion
After simple explanations above we can conclude that:
1. Generally the program which are Toad for SQL Server and Query
Analyzer made for helping the user that are programmer, DBA,
Analyst, or an organization to create, maintain, compare, update and
many more about complex database.
2. SQL Query Analyzer is an interactive, graphical tool that enables a
database administrator or developer to write queries, execute multiple
queries simultaneously, view results, analyze the query plan, and
receive assistance to improve the query performance.
16
Toad for SQL Server vs. Query Analyzer
NTC
2008
4.2 Suggestion
Here the suggestion that commonly need to the next arrangement to make
better which are in reporting, writing, arranging they are:
17
Toad for SQL Server vs. Query Analyzer
NTC
2008
BIBLIOGRAPHY
18