External Article

Sending resource alerts on Managed Instance using db_mail

One of the biggest issue that you might experience in Managed Instance is reaching storage limit or finding out that you don't have enough CPU. In this case you would need to get the bigger instance; however, this is not instant operation. In this post, you will see how you can monitor resource usage and send email alerts if there is a risk that you might reach the limits.

Blogs

Creating a Scripts Folder in SQL Compare

By

While I was at a conference recently, someone asked me about the Scripts Folder...

Hello Microsoft Entra ID, good bye Azure Active Directory

By

A couple of months ago where I work, a major product started undergoing a...

Can you take a differential backup of master?

By

In one of the sessions I attended during the Pass Data Community Summit the...

Read the latest Blogs

Forums

Last value in a row containing..

By boehnc

I've inherited code in which I need to designate each PATID as either Rel_Exempt...

SQL2019 ODBC Connection from Linux setup help.

By kat35601

I can connect to the sql server 2019  from my linux machine with tsql...

Database space issue

By ps.

Hi experts, I am facing issue with the database file space used. Here are...

Visit the forum

Question of the Day

Parameter Defaults

I have a T-SQL stored procedure that looks like this:

CREATE PROCEDURE dbo.AddTogether @a int
                                  , @b int = 1
AS
BEGIN
  -- Declare a variable to store the result
  DECLARE @result INT;
  -- Add the two parameters and assign to the variable
  SET @result = @a + @b;
  -- Return the result
  SELECT @result;
END;
Where can I query the DMVs to get the parameter defaults? (null for @a, 1 for @b)

See possible answers