Technics:Microsoft SQL Server

From CoPlanner 11
Jump to navigationJump to search

Microsoft SQL Server

General Information

An overview about all SQL Server versions from 7.0 including service packs and other intermediate releases as well as download links is available at http://sqlserverbuilds.blogspot.com. The Microsoft SQL Server is required for the CoPlanner Server.

Enable xp_cmdshell

The Windows process spawned by xp_cmdshell has the same security rights as the SQL Server service account.

When it is called by a user that is not a member of the sysadmin fixed server role, xp_cmdshell connects to Windows by using the account name and password stored in the credential named ##xp_cmdshell_proxy_account##. If this proxy credential does not exist, xp_cmdshell will fail.

The proxy account credential can be created by executing sp_xp_cmdshell_proxy_account:

EXEC sp_xp_cmdshell_proxy_account 'DOMAIN\UserName','password'

This user must have the rights for executing xp_cmdshell:

 GRANT EXECUTE on xp_cmdshell to [DOMAIN\UserName]

More information at http://msdn.microsoft.com/en-us/library/ms175046.aspx.

Microsoft SQL Server 2005

The xp_cmdshell option can be enabled using SQL Server 2005 Surface Area Configuration → Surface Area Configuration for Features:

Technical, Enable xp_cmdshell (SQL Server 2005)


Microsoft SQL Server 2008 / 2008 R2

The xp_cmdshell option can be enabled via Facets (context menu on the SQL Server node in SQL Server Mangement Studio):

Technical, Enable xp_cmdshell (SQL Server 2008)

Using stored procedures

-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO

Business Intelligence Development Studio Installation

This chapter describes the installation of Business Intelligence Development Studio on the client computer and the majority of them are for a rewiring within the installation on the server. The Business Intelligence Development Studio belongs to the workstation components and will be installed with the SQL Server Setup.

Hint  After installing you have to install the right service pack. This is also responsible for the workstation components.


Hint  The Business Intelligence Development Studio is an adapt Visual Studio. If necessary, Visual Studio update is a separate service pack. The SQL server service pack refreshes only the BI-components.

Microsoft SQL Server 2005

Nach dem Bestätigen der EULA werden die Unterstützungsdateien für das Setup installiert. Anschließend wird vom Setup die Konfiguration des Rechners gescannt. Den Willkommensbildschirm mit Weiter bestätigen. Die Warnungen der Systemkonfigurationsüberprüfung können ignoriert werden, falls sie nur für eine Server-Installation von Bedeutung sind. Bei den zu installierenden Komponenten wählt man Arbeitsstationskomponenten, Onlinedokumentation und Entwicklungstools:

Technik, Auswahl der zu installierenden Komponenten (SQL Server 2005 Setup)

Mit der Schaltfläche Erweitert kann man die zu installierenden Komponenten im Detail auswählen:

Technik, Featureauswahl (SQL Server 2005 Setup)

Die Online-Dokumentation kann man weglassen, da diese der Dokumentation im MSDN entspricht. Auch das Software Development Kit und die Legacykomponenten werden im Normalfall nicht benötigt.

Anschließend Weiter bis zum Abschließen des Setups. Nicht auf die Installation des SQL Server Service Packs vergessen.

Important URLs

Service Packs und kumulative Updates

Eine Übersicht aller SQL Server Versionen ab 7.0 inklusive Service Packs und aller Zwischenstände sowie Links zu den Downloads findet man auf http://sqlserverbuilds.blogspot.com.

Microsoft SQL Server 2005

Feature Pack für Microsoft SQL Server 2005 - Dezember 2008 http://www.microsoft.com/downloads/details.aspx?displaylang=de&FamilyID=536fd7d5-013f-49bc-9fc7-77dede4bb075

Microsoft SQL Server 2008

Feature Pack für Microsoft SQL Server 2008, April 2009 http://www.microsoft.com/downloads/details.aspx?displaylang=de&FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4

Microsoft SQL Server 2008 R2

Feature Pack für Microsoft® SQL Server® 2008 R2 in der Community Technology Preview-Version für November http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&displaylang=de