Technics:Microsoft SQL Server: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:


===General Information===
===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.
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 [[Technics:CoPlanner-Server|CoPlanner Server]].


===Enable xp_cmdshell===
===Enable xp_cmdshell===

Revision as of 10:43, 15 July 2010

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 installieren

In diesem Abschnitt wird die Installation des Business Intelligence Development Studio auf Client-Rechnern beschrieben und gilt zum größten Teil auch für eine Nachinstallation am Server. Das Business Intelligence Development Studio gehört zu den Arbeitsplatzkomponenten und wird mit dem SQL Server Setup installiert.

Hinweis  Nach dem Installieren über das Setup muss unbedingt das zum SQL Server passende Service Pack installiert werden. Dieses ist auch für die Aktualisierung der Arbeitsstationskomponenten zuständig.


Hinweis  Das Business Intelligence Development Studio ist ein angepasstes Visual Studio. Das Visual Studio ist über ein separates Service Pack zu aktualisieren (bei Bedarf). Das Service Pack für den SQL Server aktualisiert nur die BI-Komponenten (Designer für Analysis, Integration und Reporting Services).

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