Jeff Taylor
Principal Data Consultant
Database Consulting, LLC
Your Daily Driver
Got an Overhaul
What's new in SSMS 21 and SSMS 22
Except for May, November and December
Jeff Taylor
Principal Data Consultant
Database Consulting, LLC
Super Hero Suit
The rebuild: new engine, new chassis
The engine
Pit crew
Demo
Object Explorer, Query Editor, Results, Template Explorer.
Yes, this is the one you will get asked about most.
Cockpit
Dash
Connect
Projects
Security
AI, v1
A turbo that never quite spooled.
Race day: the tune that works
Tech inspection
Arm64
AI, v2
-- Prompts I actually use in the chat window
Write a query to find the top 10 customers by total order value
Explain what this stored procedure does
Why is this query slow, and how would you rewrite it?
Add error handling and a transaction to this scriptAutocomplete
Demo
Agent Mode
Let it work. Read every step.
Treat it like traction control: it helps, but you are still driving. Agent Mode can execute queries and modify schema, so approve deliberately, especially outside dev.
Demo
Before
select o.OrderId,c.Name,sum(od.Qty*od.Price) total from Orders o join Customers c on c.Id=o.CustId join OrderDetail od on od.OrderId=o.OrderId group by o.OrderId,c.NameUSE [SSMSDemo];
GO
-- BEFORE: paste this as one line, then run the formatter live.
select o.OrderId,c.Name,sum(od.Qty*od.Price) total from Orders o join Customers c on c.Id=o.CustId join OrderDetail od
on od.OrderId=o.OrderId group by o.OrderId,c.Name
GOAfter
SELECT
o.OrderId,
c.Name,
SUM(od.Qty * od.Price) AS total
FROM Orders o
JOIN Customers c ON c.Id = o.CustId
JOIN OrderDetail od ON od.OrderId = o.OrderId
GROUP BY
o.OrderId,
c.Name;-- AFTER: what the formatter produces (shown here so you have the target).
SELECT
o.OrderId,
c.Name,
SUM(od.Qty * od.Price) AS total
FROM Orders o
JOIN Customers c ON c.Id = o.CustId
JOIN OrderDetail od ON od.OrderId = o.OrderId
GROUP BY
o.OrderId,
c.Name;
GODemo
JSON
Fabric
More
Gotchas
Recap
Thank you for attending my session today.
If you have any additional questions, please don't hesitate to reach out.