- Audit a SQL Server Configuration
- Filegroup Restore Script
- Restoring User Databases to Different Environments
- Conversion Functions
- Current Memory Use By SQL Server
- Date Management Functions
- Report All Objects In The Database
- Search for a String Within Objects
- Calculate Time Elapsed While Executing Code
- List Extended Properties For All User Tables
- List Extended Properties For All Columns
- Compare Column Definitions Between Two Tables
- Generate Insert Statement for Table
- Delete User Objects from a Database
- Set Up Operators
- Set Up Alerts
- Get message text by specifying the error number
- Error Handling with TSQL
- Execute T-SQL in Parallel
- File Activity
- Find Detached Databases
- Index Maintenance
- Find Tables Without Primary Keys
- Find Indexes Not In Use
- Find Missing Indexes
- Find Queries in the Plan Cache That Are Missing an Index
- Current Memory Use By SQL Server
- Queries Waiting For Memory
- Queries in Procedure Cache
- Queries with Index Scans Due to Implicit Conversions
- Calculate Current Table Sizes
- Count Rows in All Tables
- Querying for Failed Jobs
- Retrieve and Disable All Active Jobs
- Order all Job Steps Alphabetically
- How to retrieve the last ran clean DBCC CHECKDB for one database
- How to retrieve the last ran clean DBCC CHECKDB for many databases
- Count How Many Times a String Appears In Another String
- Replace a Substring
- Reverse Order of Characters in a String
- Substring with Start and End Parameters
- Trim Patterns of a String
- Word Wrap a String
- Find the procedure names that are being used in the reports
- Find all the adhoc sql used in reports
- List all users and thier roles in Reporting Server
- List all the rendering types and thier counts used in reports like excel, pdf
- Password Generation
- Import/Export Scripts
Scripts
Subscribe to:
Posts (Atom)