SSIS für nicht sysadmins

Posted on Mär 5, 2008 von in SQL Server
Für die Verwendung von SSIS-Paketen sind entsprechende Vorkehrungen zu treffen, damit auch Anwender, die nicht über die Serverrolle sysadmin verfügen, Pakete bereitstellen und in Aufträgen ausführen können. Mit SQLServer2005 sind hier einige neue Mögli… mehr »
1 Kommentar »

SYNONYM - create aliases for your objects

Posted on Feb 27, 2008 by in SQL Server
MS SQL Server 2005 introduces a host of new features, some well-known; some not as familiar, but exciting like SYNONYMs. Synonyms help us to create aliases for our objects. They replace fully qualified name into shortest user-defined name and simplify… more »
Tags: synonym

Helpful tools at SQLCAT

Posted on Feb 22, 2008 by in SQL Server
The Microsoft SQL Server Development Customer Advisory Team at SQLCAT have consolidated several tools which they have published on Codeplex and other places under:ToolBoxHere are some entries:SQL DMVStats ToolkitSQL Server 2005 Partition Management… more »
Tags: sqlcat

Automatische Vergrößerung der "tempdb"-Systemdatenbank

Posted on Feb 21, 2008 von in SQL Server
In MS SQL Server 2005 wird für die "tempdb"-Systemdatenbank mehr Speicherplatz benötigt als in früheren Versionen von SQL Server, dies kommt zu einem durch eine erhöhte Leistungsverbesserung , sowie enthaltender neuer Features zustande (siehe BOL… mehr »
Tags: tempdb

Microsoft SQL Server 2008 February CTP Available

Posted on Feb 21, 2008 by in SQL Server
As announced the day before yesterday, the SQL Server 2008 February CTP is now available for download: http://www.microsoft.com/downloads/details.aspx?FamilyId=749BD760-F404-4D45-9AC0-D7F1B3ED1053&displaylang=en In addition, there is also the Books… more »

Sichtbarkeit von Metadaten

Posted on Feb 17, 2008 von in SQL Server
Eine dieser berühmt-berüchtigten "Kleinigkeiten", über die ich mir bisher wenig Gedanken gemacht habe, ist die Sichtbarkeit von Metadaten innerhalb einer SQL Server Datenbank. Sie waren bisher einfach immer und überall verfügbar, sprich abfragbar.… mehr »

Checking the running time since last SQL-Server instance startup

Posted on Feb 15, 2008 by in SQL Server
Below script will query sys.dm_exec_sessions to find out how long the SQL-Server instance is running. CodeDECLARE @elapsed_time AS DATETIME, @lr_start_time AS DATETIME SELECT @lr_start_time = (SELECT last_request_start_time FROM sys.dm_exec_sessions… more »

Wie kann ich feststellen, wie lange bereits eine SQL Server 2005 Instanz läuft

Posted on Feb 15, 2008 von in SQL Server
Der Startzeitpunkt des MS SQL Servers steht im Fehlerprotokoll, in der untersten Zeile, des Servers. Da der MS SQL Server beim Starten für interne Prozesse auch einige Verbindungen verwendet und diese mit der Session_ID=1 initialisiert werden, kann man… mehr »
Tags: faq

Datengesteuerte Abonnements mit der Standard-Edition

Posted on Feb 14, 2008 von in SQL Server
Leider wird dieses Feature vollständig nur in der Enterprise-Edition unterstützt, aber es gibt auch Wege, dies selbstständig zu realisieren. Inspiriert durch den Artikel Data Driven Subscriptions for Reporting Services fasse ich im folgenden die notwen… mehr »

Introducing SQL Server 2008 by Peter DeBetta

Posted on Feb 13, 2008 by in SQL Server
The Microsoft SQL Server 2008 – Learning Portal offer this ebook Introducing SQL Server 2008 by Peter DeBetta, Greg Low, and Mark Whitehorn for free!By the way - there is also an free e-learning offer Collection 6187. Check it out:… more »

Dynamische Verwaltungssichten und -funktionen für Indizes - I

Posted on Feb 12, 2008 von in SQL Server
SQL Server 2005 teilt die dynamischen Verwaltungssichten und -funktionen nach der Modul-Komponente - zu der sie in Beziehung stehen - in zwölf Kategorien auf. Das diesem Artikel zugrunde liegende Objekt sys.dm_db_index_operational_stats gehört zur… mehr »

Resources for complex, enterprise SQL Server Implementations

Posted on Feb 12, 2008 by in SQL Server
There is a new resources for complex, enterprise SQL Server Implementations, by the Microsoft SQL Server Development Customer Advisory Team at SQLCAT.com. Top 10 Lists: Summary list of Best Practices and Recommendations Technical Notes: Deep level… more »
Tags: sqlcat

Which login has what server role permissions

Posted on Jan 31, 2008 by in SQL Server
Below script will query sys.server_role_members / sys.server_principals to find out which logins have what server role access. CodeSELECT 'ServerRole' = CASEWHEN rm.role_principal_id > 2 THEN SUSER_NAME(rm.role_principal_id) END,lgn.name AS… more »

SQL Server 2005 Partition Management Tool

Posted on Jan 29, 2008 by in SQL Server
Stuart Ozer developed a simple, shared source Partition Management Tool for SQL Server 2005 to make the process of creating the staging tables for partition management nearly foolproof. At runtime, the definition of all columns, indexes, and… more »

Future CTP Improvements for SQL Server 2008

Posted on Jan 28, 2008 by in SQL Server
Take a look to each improvement to each CTP for SQL Server 2008 - and watch out for future improvements. Cheers CU tosc more »

Blocking per object with sys.dm_db_index_operational_stats

Posted on Jan 22, 2008 by in SQL Server
SELECT DB_NAME(database_id) AS 'DB_NAME', QUOTENAME(OBJECT_SCHEMA_NAME(ios.[object_id], database_id)) + N'.' + QUOTENAME(OBJECT_NAME(ios.[object_id], database_id)) AS 'OBJECT_NAME', i.name AS 'INDEX_NAME', i.index_id AS 'INDEX_ID',… more »

SQL Server 2005 Best Practices Analyzer (January 2008) - received with cheers

Posted on Jan 22, 2008 by in SQL Server
There is an update to SQL Server 2005 Best Practices Analyzer. It contains new and updated rules for Analysis Services, rules for the Relational Engine, some fixes for the UI and command line tools. Here is the origional post for SQL Server 2005 BPA:… more »

Launch Event 2008 - Gewinnspiel auf InsideSQL.org

Posted on Jan 17, 2008 von in SQL Server
Dank Frank Kalis (admin) gibt es ein Gewinnspiel zur MS Lanch Event 2008 - auf InsideSQL.org Einfach die Fragen beantworten - ready.for.take.off! Folgende Preise stehen bereit: 1x kostenfreie Eintrittskarte für den Launch Event 1x Flight Simulator X… mehr »

Reporting mit Oracle-Daten

Posted on Jan 11, 2008 von in SQL Server
Wenn man schon über ein schönes Reporting Tool verfügt, sollte man dies auch ruhig mit Oracle-Datenbanken einsetzen, oder? mehr »

SSMS Tricks

Posted on Jan 10, 2008 von in Sonstiges
In Anlehnung an diesen Artikel auf SQLServerCentral habe ich die wichtigsten Punkte auf deutsch zusammengefasst. mehr »
Tags: ssms

MSDN and TechNet SQL Server Sites Linked

Posted on Jan 10, 2008 by in SQL Server
Cheers! CU tosc more »

Tücken bei der Verwendung eines Cursors in einem "clustered index vom Typen (n)varchar"

Posted on Jan 8, 2008 von in Administration
Obwohl der Autor ein Gegner von Cursor ist, gibt es Situationen, in denen es einfach nicht möglich ist, eine andere Variante der Datenmanipulation zu favorisieren. Das Cursor nicht gerade performant sind im Verhältnis zur mengenorientierten… mehr »

RML Utilities for Microsoft SQL Server Released

Posted on Dec 19, 2007 by in SQL Server
The Microsoft PSS SQL Support Team, give us a set of useful tools that could change/help our life. Check out the RML Utilities here: RML Utilities for Microsoft SQL Server To download the RML Utilities for SQL Server, visit the following Microsoft… more »
Tags: rml

Efficient Compound Index Usage

Posted on Dez 10, 2007 von in SQL Server

Search Engine Q&A #10: When are pages from a truncated table reused?

Posted on Dez 6, 2007 von in SQL Server
Schon mal gefragt, was genau wann bei TRUNCATE TABLE passiert? Hier ist die Antwort: http://www.sqlskills.com/blogs/paul/2007/12/05/SearchEngineQA10WhenArePagesFromATruncatedTableReused.aspx mehr »