Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
satheeshkris
/
DBA-Scripts
Public
forked from
bulentgucuk/DBA-Scripts
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
21 Commits
21 Commits
Audit
Audit
CLR Proc in BackOffice
CLR Proc in BackOffice
DBA Database
DBA Database
DBAdmin Deploy Scripts
DBAdmin Deploy Scripts
Foreign Keys
Foreign Keys
Healthy SQL
Healthy SQL
Jobs
Jobs
MSDB
MSDB
PowerShell
PowerShell
Replication
Replication
SAH Scripts
SAH Scripts
SQL Server Deployment
SQL Server Deployment
SQLIO
SQLIO
Service Broker
Service Broker
Stored Procedures
Stored Procedures
Sys2 DMVs
Sys2 DMVs
TDE
TDE
AA Install SQL from Command Line.txt
AA Install SQL from Command Line.txt
Add Email Notification For Failed SQL Server Agent Jobs.sql
Add Email Notification For Failed SQL Server Agent Jobs.sql
Add Gmail as Database Mail Account.sql
Add Gmail as Database Mail Account.sql
Add Linked Server.sql
Add Linked Server.sql
Alter Database Logical File Names.sql
Alter Database Logical File Names.sql
Attach DB File Without Log File.sql
Attach DB File Without Log File.sql
Attach database using Create Database.sql
Attach database using Create Database.sql
Audit Login Events.sql
Audit Login Events.sql
BCP Out Sample.sql
BCP Out Sample.sql
BCP out and in dynamic statement.sql
BCP out and in dynamic statement.sql
Backup File CleanUp.sql
Backup File CleanUp.sql
Backup database.sql
Backup database.sql
Blocking.sql
Blocking.sql
Build Comma Seperated Column and Query.sql
Build Comma Seperated Column and Query.sql
CPU counts.sql
CPU counts.sql
Cached Exec Plan Query.sql
Cached Exec Plan Query.sql
Check Free Space And Truncate.sql
Check Free Space And Truncate.sql
Check If The Latest Backup File Exist.sql
Check If The Latest Backup File Exist.sql
Check SQL Server Replication Jobs.sql
Check SQL Server Replication Jobs.sql
Clean up Replication.sql
Clean up Replication.sql
Collect Index Usage Statistics.sql
Collect Index Usage Statistics.sql
Comma Seperate Mutiple Rows.sql
Comma Seperate Mutiple Rows.sql
Compress Table.sql
Compress Table.sql
Configure Database Mail.sql
Configure Database Mail.sql
Convert Int to Time Function.sql
Convert Int to Time Function.sql
Create Credential and SSIS Proxy.sql
Create Credential and SSIS Proxy.sql
Create Database Mail Account And Profile.sql
Create Database Mail Account And Profile.sql
Create Database Mail Profile and Account.sql
Create Database Mail Profile and Account.sql
Create Database With Multiple File Groups.sql
Create Database With Multiple File Groups.sql
Create Dynamic Database SnapShot Daily.sql
Create Dynamic Database SnapShot Daily.sql
Create Dynamic Database SnapShot In Minutes.sql
Create Dynamic Database SnapShot In Minutes.sql
Create Extended Event Session 24HourDataCapture.sql
Create Extended Event Session 24HourDataCapture.sql
Create Function DelimitedSplit8K For Splitting Comma Sepeprated Parameters.sql
Create Function DelimitedSplit8K For Splitting Comma Sepeprated Parameters.sql
Create Function to Parse String.sql
Create Function to Parse String.sql
Create Linked Server to Azure Database.sql
Create Linked Server to Azure Database.sql
Create ProcExec Role and Grant Execution Select on Objects.sql
Create ProcExec Role and Grant Execution Select on Objects.sql
Create SQL Login With SID.sql
Create SQL Login With SID.sql
Create SQL Server Alerts.sql
Create SQL Server Alerts.sql
Create SSIS Proxy Account.sql
Create SSIS Proxy Account.sql
Create Tally Table.sql
Create Tally Table.sql
Create or Drop All PKs.sql
Create or Drop All PKs.sql
DBA Backup System Databases Script.sql
DBA Backup System Databases Script.sql
DBCC CheckDB for All DBs.sql
DBCC CheckDB for All DBs.sql
DMV Starter Pack.sql
DMV Starter Pack.sql
Database IO Report.sql
Database IO Report.sql
Days Since the Job Run.sql
Days Since the Job Run.sql
Delete Duplicate Rows With CTE.sql
Delete Duplicate Rows With CTE.sql
DeleteAllDataInDB.sql
DeleteAllDataInDB.sql
DetermineIndexCostBenefits.sql
DetermineIndexCostBenefits.sql
Disable Enable FK.sql
Disable Enable FK.sql
DriveFreeSpace.sql
DriveFreeSpace.sql
Drop Clean Buffers and Free Proc Cache.sql
Drop Clean Buffers and Free Proc Cache.sql
Drop FK Constraint.sql
Drop FK Constraint.sql
Drop Procs Functions Schemas.sql
Drop Procs Functions Schemas.sql
Drop Restored Copy of Replicated Database.sql
Drop Restored Copy of Replicated Database.sql
Drop Server Name and Add Builtin Admin Group To SysAdmin.sql
Drop Server Name and Add Builtin Admin Group To SysAdmin.sql
Drop Views and Tables.sql
Drop Views and Tables.sql
DropConstraintDynamic.sql
DropConstraintDynamic.sql
DropCopyandCreatSubscription.sql
DropCopyandCreatSubscription.sql
Dynamic Database Restore.sql
Dynamic Database Restore.sql
Dynamic Drop and Create FK statement.sql
Dynamic Drop and Create FK statement.sql
Dynamic Restore with Case From Linked Server.sql
Dynamic Restore with Case From Linked Server.sql
Dynamic Restore with Case.sql
Dynamic Restore with Case.sql
Dynamic Stored Procedure Where Clause.sql
Dynamic Stored Procedure Where Clause.sql
Dynamically Restore Multi File DB backup.sql
Dynamically Restore Multi File DB backup.sql
Estimate Compression Savings.sql
Estimate Compression Savings.sql
Find Active Cluster Node.sql
Find Active Cluster Node.sql
Find Active Sessions.sql
Find Active Sessions.sql
Find Active Transactions and Execution Plans.sql
Find Active Transactions and Execution Plans.sql
Find Ad Hoc Related Plan Cache numbers.sql
Find Ad Hoc Related Plan Cache numbers.sql
Find All Objects in All User Databases Using Name Like.sql
Find All Objects in All User Databases Using Name Like.sql
Find All The Schemas Tables Columns and DataTypes.sql
Find All The Schemas Tables Columns and DataTypes.sql
Find All User Created Objects.sql
Find All User Created Objects.sql
Find Authentication Scheme And Net Transport.sql
Find Authentication Scheme And Net Transport.sql
Find Availability Group Health Secondary Node.sql
Find Availability Group Health Secondary Node.sql
Find Avg Space Used Page Count and Avg Record Size Per Index For Table.sql
Find Avg Space Used Page Count and Avg Record Size Per Index For Table.sql
Find Batch Requests Compilations and Plan ReUse.sql
Find Batch Requests Compilations and Plan ReUse.sql
Find Block Size of the Volumes.sql
Find Block Size of the Volumes.sql
Find Buffer Descriptors what's in SQL Server buffer.sql
Find Buffer Descriptors what's in SQL Server buffer.sql
Find Buffer Pool Cache Size For Each Db.sql
Find Buffer Pool Cache Size For Each Db.sql
Find Buffer Usage For Each Database.sql
Find Buffer Usage For Each Database.sql
Find CPU Intensive Queries.sql
Find CPU Intensive Queries.sql
Find Cached Plans and SQL.sql
Find Cached Plans and SQL.sql
View all files
Repository files navigation
README
More
items
DBA-Scripts
SQL Server Scripts for DBAs
About
SQL Server Scripts for DBAs
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.