Category: Sql Server Scripts
018. find a list of Weekends between given two Dates in SQL Server
This script helps to DBA for finding available weekends between the dates so they can set auto-schedule for database maintenance.
017. Find stored procedures which have used Dynamic Sql
Whenever we are finding some issues in performance, we are also try to avoid Dynamic Sql in Stored Procedure.To avoid
016. Find stored procedures which have used Temporary Table
Whenever we are finding some issues in performance, we are also try to avoid Dynamic Sql in Stored Procedure.To avoid
014. Who has CONNECT permission for an endpoint script – SQL Server
When we install SQL Server, SQL Server requires some of permissions like TSQL Local Machine, TSQL Named Pipes, TSQL Default

134. Get all tables from database – SQL Server
Get all tables from database – SQL Server –Get all tables from database – SQL Server SELECT schema_name(t.schema_id) as schema_name,