Wednesday, August 27, 2008 Register   Login   
   You Are Here: Scripts/Tools » SQL Server Scripts Categorized     
 SQL Community Portal
  
 Recently Submitted Articles
  
 Recent SQL Clinic Articles
  
  
Redgate SQL Server Tools
  
 SQL Server Scripts Categories
  
 SQL Server Scripts & Tools Heaven

     

Create your presence in the SQL Server World right here.. If you have written a script that you think can help others in the world then please share it here. You must LOGIN to submit your scripts. If you don't have a login then REGISTER here.

Join Microsoft SQL Server Community for free

Search
Permalink
Automatically Create and Analyze Trace for Worst Queries
Thumbnail

This script automatically starts a trace and stores the trace data in to a table and then analyzes the data and generates a report on worst performing queries.



File size6 K
Downloads319
DateWed 06/11/2008 @ 10:11
AuthorGilles Comeau
EMailgillesco@microsoft.com
RATING:   COMMENTS (0)  DOWNLOAD

Permalink
Change maintenance plan owner SQL Server 2005
Thumbnail

--Check current owners
SELECT name, description, suser_sname(ownersid)
FROM msdb.dbo.sysdtspackages90

--Change Maintenance Plan ownership
UPDATE msdb.dbo.sysdtspackages90
SET OWNERSID = SUSER_SID('sa')
WHERE OWNERSID = SUSER_SID('login')



File size0 K
Downloads0
DateThu 03/27/2008 @ 11:00
AuthorGene Hardy
EMailghardy@bjc.org
RATING:   COMMENTS (0)  

Permalink
Get a list of databases that are not being backed up
Thumbnail

Script to identify databases that have no full or transaction log backups, either today or yesterday. It reads from the MSDB tables and excludes Model and TempDB. Will only display, if a database fits the criteria.



File size2 K
Downloads690
DateTue 03/11/2008 @ 11:34
Authorlouis nguyen
EMaillouisducnguyen@gmail.com
RATING:   COMMENTS (1)  DOWNLOAD

Permalink
Logins Permissions Report
Thumbnail

Generates a detailed SQL login permissions report.  Compatible with SQL2000 and up.  Please see the beginning of the script for the legend: dr dw dbo etc.



File size7 K
Downloads665
DateTue 03/11/2008 @ 11:32
Authorlouis nguyen
EMaillouisducnguyen@gmail.com
RATING:   COMMENTS (1)  DOWNLOAD

Permalink
FileGroup Listing - Object (Table/Index) listing in filegroup/files
Thumbnail

This script will allow you to find out which object (table or index or heap) in which filegroup/file.    This could be very useful when emptying filegroup and you don't know which object is still using that filegroup. 



File size1 K
Downloads227
DateWed 02/27/2008 @ 06:25
AuthorVipul Shah
EMailvishah@microsoft.com
RATING:   COMMENTS (0)  DOWNLOAD

< BACK  1 of 8  NEXT >

Disclaimer: This script, is provided for informational purposes only and SQL Server Community (aka: WWW.SQLCOMMUNITY.COM) or the author of this script makes no warranties, either express or implied. This script, scenarios and other external web site references, is subject to change without notice. The entire risk of the use or the results of the use of this script remains with the user.

     SQL Server Tips Home          SQL Server Articles Home         SQL Server Scripts Home


Syndicate    
SQL Server 2000 Downloads
 
SQL Server 2000 Reporting Services Downloads
 
SQL Server 2000 Notification Services SP Downloads
 
SQL Server CE Downloads
 
SQLXML 3.0 Service Pack Downloads
 
SQL Server 2000 JDBC Driver
 
MDAC 2.6 Download
 
SQL Server 2000 Tools Downloads
SQL Server 2005 & SQL Server 2000 Best Practices
·    DMV Stats
 
·    Buffer Cache
·    Input/Output
·    Performance
·    Tempdb
·    Wait Statistics
                    
SQL Server 2000 Best Practices




Cancel  Send

 Community Sharing Central
  
 Recently Submitted SQL Tips