How to create Linked Server on SQL Server for azure SQL database? | create linked servers on SQL Server for in azure SQL database

This article describes about, How to create Linked Server on SQL Server for azure SQL database? or create linked servers on SQL Server for in azure SQL database Microsoft Azure SQL Database is a managed cloud database provided as part of Microsoft Azure. SQL servers allow to do cross SQL queries between 2 databases present … Read more

How to shrink log file in SQL server? | Shrink SQL log file | SQL log file too big and won’t shrink

This article describes, How to shrink log file in SQL server? or Shrink SQL log file SQL servers have two database file 1. MDF (Data File) and 2. LDF (Transaction Log file). LDF is SQL database transaction log file and when data operation happen data getting inserted into SQL server log file (LDF). Log files … Read more

How to create SQL job in SQL server? | Create SQL job in SQL server using PowerShell

This article provide guide for How to create SQL job in SQL server? Below script Create SQL job in SQL server using PowerShell. You can create same job on multiple SQL Server. This will automate process and reduce manual efforts to create same SQL Server jobs on Multiple SQL Server Instance. Step 1: Create List … Read more

Detach And Attach Database in SQL Server | Detach multiple databases using sp_detach_db | detach attach database sql server

This article describes, Detach And Attach Database in SQL Server or Detach multiple databases using sp_detach_db What happens when you detach a SQL database? If you want to move database from one SQL server instance to another SQL Server instance, we can use detach method. We can use SSMS to detach database from SQL Server. … Read more

How to list all file names from a folder and sub-folders? | SQL Server Query to List Files

This Article Describe, how to list all file names from a folder and sub-folders? or SQL Server Query to List Files Most of the time as DBA we get request to restore multiple databases. We can perform SQL Server database restore using SSMS or T-SQL Restore commands.Doing this database restore task in SSMS, we need to restore database … Read more

How to configure database mail SQL Server? | How to Configure Database Mail on azure SQL managed instance

This Article guides, How to configure database mail SQL Server? or Configure Database Mail – SQL Server. Database Mail is an enterprise solution for sending e-mail messages from the SQL Server Database Engine or Azure SQL Managed Instance. Your applications can send e-mail messages to users using Database Mail via an external SMTP server. The … Read more

How do I create a disk space alert in SQL Server? | How to solve disk space issue in SQL Server?

This Article guides, How do I create a disk space alert in SQL Server? or How to solve disk space issue in SQL Server? Many time we face disk space issue on SQL Server on Azure managed instance. If we configured alert for low disk space this can help to avoid database getting down. SQL … Read more