Uploaded by DBATAG on Jul 20, 2010
Full Detailed Article for "Central Management SQL Server & Multi Server Query" is available at :
http://sqlserver-training.com/central-management-sql-server-multi-server-query
Follow us at more Updates at
-----------------------------------------
Website : http://sqlserver-training.com/
Twitter : http://twitter.com/dbatag/
Facebook : http://facebook.com/dbatag/
Linked In : http://in.linkedin.com/in/dbatag/
================================
SQL Server 2008 SSMS introduces a new feature, Multiple Server Query Execution, in Query Editor. This feature intends to increase the productivity of running same query against multiple servers at once. Using this functionality, SQL Server Management Studio (SSMS) DBAs can now query multiple servers from one window. To use this functionality you must have
You need at least one SQL 2008 Server to setup Central Management Servers
You also need to setup logins for Administration and General Users
How to create a central management server
In SQL Server Management Studio 2008, on the View menu, click Registered Servers.
In Registered Servers, expand Database Engine, right-click Central Management Servers, point to New, and then click Central Management Servers.
In the New Server Registration dialog box, register the instance of SQL Server that you want to become the central management server.
In Registered Servers, right-click the central management server, point to New, and then click New Server Group. Type a group name and description, and then click OK.
In Registered Servers, right-click the central management server group, and then click New Server Registration.
In the New Server Registration dialog box, register one or more instances of SQL Server that you want to become members of the server group.
After you have registered a server, the central management server will be able to execute queries against all servers in the group at the same time
Execute statements against multiple configuration targets simultaneously
In SQL Server Management Studio, on the View menu, click Registered Servers.
Expand a Central Management Server, right-click a server group, point to Connect, and then click New Query.
In Query Editor, type and execute a Transact-SQL statement, such as the following:
USE master
GO
SELECT * FROM sysdatabases;
GO
By default, the results pane will combine the query results from all the servers in the server group.
To change the multiserver results options
In Management Studio, on the Tools menu, click Options.
Expand Query Results, expand SQL Server, and then click Multiserver Results.
On the Multiserver Results page, specify the option settings that you want, and then click OK.
http://sqlserver-training.com/central-management-sql-server-multi-server-quer...
Category:
Tags:
License:
Standard YouTube License
-
2 likes, 0 dislikes
3:35
C# Chat Server/Client Demonstration/Tutorial, SOURCE CODE INCLUDED (v1)by xsDevelopment12,749 views
2:16
How to Hack and Deface a websiteby sangohain129,196 views
5:02
Excel 2007 linked to SQL Serverby l4dvd16,449 views
10:00
SQL Aggregation queries using Group By, Sum, Count and Havingby Joes2Pros14,210 views
1:56
Write a simple SQL query: SQL Training by SQLStepsby SQLSteps1,670 views
6:28
Distributed Database (part 1 of 8)by vojt871,921 views
5:09
How to Add Login to Microsoft SQL Server 2005 2008 Expressby viperz133110,544 views
8:57
Getting Started with T-SQL Queries using SQL Server Management Studioby learningsqlserver13,189 views
7:59
SQL Server Tutorial - Introduction to 2008 (Beginning Query lesson on Single Table Queries)by Joes2Pros127,603 views
1:18
How to learn SQL server and prepare for the MCTS SQL 2008 implementation certification 70-433 examby Joes2Pros8,173 views
8:56
SELECT with Multiple Tablesby SitePoint11,160 views
3:24
SQL Server - 8 Hours of Free Video Tutorialsby harvey007y15,360 views
58:25
Lecture -24 Distributed Transaction Modelsby nptelhrd12,412 views
7:50
SQL Server 2005 Replicationby subhtube10,673 views
7:43
Session 3 Install & Configure SQL Server 2005by uniquecommunications27,374 views
4:24
Exploring SQL Server Management Studio Basicby vishalgoyal444,389 views
9:02
SQL University: Basic Tools - SQL Management Studio 2008 Pt 1by cusemma7,304 views
1:34
How to Create MS SQL Server CE Databaseby RaymondLamSK14,616 views
5:49
Understanding Microsoft SQL Serverby vishalgoyal44458 views
8:51
SQL Server 2008 New Featuresby baghul12,128 views
- Loading more suggestions...
Link to this comment:
All Comments (0)