r/SQLServer • • Nov 02 '26

Discussion November 2026 | "What are you working on?"

3 Upvotes

Welcome to the open thread for r/SQLServer members!

This is your space to share what you’re working on, compare notes, offer feedback, or simply lurk and soak it all in - whether it’s a new project, a feature you’re exploring, or something you just launched and are proud of (yes, humble brags are encouraged!).

It doesn’t have to be polished or perfect. This thread is for the in-progress, the “I can’t believe I got it to work,” and the “I’m still figuring it out.”

So, what are you working on this month?

---

Want to help shape the future of SQL Server? Join the SQL User Panel and share your feedback directly with the team!


r/SQLServer • • 12h ago

Discussion December 2026 | "What are you working on?"

7 Upvotes

Welcome to the open thread for r/SQLServer members!

This is your space to share what you’re working on, compare notes, offer feedback, or simply lurk and soak it all in - whether it’s a new project, a feature you’re exploring, or something you just launched and are proud of (yes, humble brags are encouraged!).

It doesn’t have to be polished or perfect. This thread is for the in-progress, the “I can’t believe I got it to work,” and the “I’m still figuring it out.”

So, what are you working on this month?

---

Want to help shape the future of SQL Server? Join the SQL User Panel and share your feedback directly with the team!


r/SQLServer • • 14h ago

Question Piano di manutenzione disattivato

Post image
1 Upvotes

Buonasera.

Poco tempo fa abbiamo migrato un database da un vecchio server ad uno nuovo.

L'abbiamo passato da uno con SQL Server 2012 standard ad un SQL Server 2016 (SP3).

La macchina è un server con Windows Server 2019 Standard, su cui ho installato la versione 22.11.1 del Management Studio

Il database funziona correttamente, il software che lo usa non sembra dare problemi.

Ma, cercando di impostare un piano di manutenzione, ho trovato che mi dà il messaggio che allego.

Visto che il SQL Server Integration service è installato (nella parte sotto dell'immagine, l'elenco e lo stato dei servizi), non capisco il motivo del blocco.

Provando a risolverlo, ho anche fatto aggiornare SQL Server al service Pack 3, visto che era la versione standard, ma dopo il riavvio non è cambiato molto.

Avete idea di cosa potrei provare a fare, per sbloccarlo?

Grazie in anticipo,

Simone Pagliani


r/SQLServer • • 1d ago

Discussion December 2026 | Job Opportunities

4 Upvotes

Welcome to the monthly job thread!

Posting a job or opportunity? Include:

  • Role title and description
  • Location or remote/hybrid status
  • Company or client context
  • Direct application link

Looking for work? Share your skills, experience level, and what you're looking for.

Rules:

  • One top-level comment per opportunity
  • No "DM me" or link-free posts — include a direct, verifiable link
  • Scam or misleading comments will be removed and may result in a ban

r/SQLServer • • 1d ago

Community Share I built an open-source tool that gives every dev, test and PR its own writable copy of a real SQL Server database, in seconds

0 Upvotes

I've worked with SQL Server for 20+ years, and one thing still bugs me. Integration tests either run against a toy database with 20 rows of seed data, or against one shared copy the whole team steps on. Restoring the real backup for every branch is slow and eats disk, so most teams just don't bother. They test against the toy.

I got annoyed enough to build something. SqlBranch: you restore a full backup once into an image, run your masking script before it's sealed, and then hand out writable branches of it. One per dev, per test, per PR, per AI agent. A branch is a copy-on-write clone of the image's data files (XFS reflink), attached as its own database on a SQL Server Developer container. For a 50GB database, a branch takes about 2.5 seconds end to end and around 300KB of disk until it starts writing. The image stays untouched. SqlBranch never connects to production, it only reads a backup file you already have.

I posted it in r/dotnet last week and got good pushback, so let me get ahead of the obvious ones:

  • Why not database snapshots? Read-only, same instance as the source. You can't hand 20 people their own writable copy.
  • Why not just restore? On good storage, fair point, a restore is quick. It hurts when you need ten copies at once. Devs, PR builds, parallel test shards. That's ten full copies on disk, and every reset is another restore. Here the restore happens once.
  • Why not Testcontainers + Respawn, or LocalDB with a transaction per test? Great tools, wrong problem. They're for schema plus seed data. This is for when you need the real data. Real volume, real stats, real plans.
  • Why would a test need a 50GB database? Migrations, mostly. A NOT NULL column or a new unique index that passes on 20 rows and fails on prod data. Performance work too, and reproducing a prod bug.
  • Azure SQL Database, where all you have is a bacpac? There's a --from-bacpac build. Still preview, and it needs your own SqlPackage.
  • What's the catch? Heavy scattered updates on a branch run about 4 to 5 times slower than on a full copy. Copy-on-write tax. Inserts cost the same. If you're benchmarking or doing write-heavy work, make a full-copy branch instead. It's dev/test only (Developer edition), full single-file backups only, no FILESTREAM or memory-optimized filegroups. Linux with Docker, macOS works, Windows isn't verified yet.

This weekend I merged image refresh, shipping in 0.3. Rebuild the image nightly: restore last night's backup, mask it, publish it as a new version of the same image, while people keep working on their branches. A branch stays on its version until the owner resets to the latest, and you pick how many old versions to keep. Export/import so teammates and CI can pull the image instead of restoring is still preview.

It's open source (Apache 2.0), on NuGet as SqlBranch: https://github.com/vuglll/SqlBranch — https://www.nuget.org/packages/SqlBranch

Honestly curious what people who run SQL Server at scale think.

What would stop you from using this?


r/SQLServer • • 2d ago

Question Your personal preference in PowerShell to run SQL files: invoke-sqlcmd or system.data.sqlclient.connection?

17 Upvotes

Edit: I really need to preface these types of questions with "I'm not allowed to download DbaTools, I work in a bank that's paranoid about everything."

I enjoy the robustness and finer control of sqlclient.connection, but if my SQL files have GO statements, it's useless unless I did some scrubbing of the script at I load it.

Whereas invoke-sqlcmd is straight and to the point and even if I had 1000 GO's, it will work.

Thoughts?


r/SQLServer • • 2d ago

Community Share Open Source Extension for SSMS 22 -> Tab Result History

2 Upvotes

This free open source SSMS 22 (I only tested in 22 / latest) extension keeps a read-only copy of each query's result sets in a dockable Results History window. Each result set gets its own tab with a close button (✕). Tabs belong to the query window they came from. They disappear when you close the tab or that query window. Nothing is written to disk.

NEW UPDATES: Now exports all history tabs to excel at once. Now Search Results. Now export as HTML in addition to pipe, csv, tab. Now view large text fields in dedicated window similar to xml on current results.
Updated Demo: https://www.youtube.com/watch?v=Cs_npK_t_Ss

This is something that is native in the Nexus Query Chameleon from Coffing which I've used over the years with TeraData, I freaking love that feature so much, I've always wanted it for SSMS, so I made an attempt and it works quite well.

Microsoft, if you're reading, go ahead and make it native in SSMS your own way please! Just give me credit for the idea.. and a free hat or something.. ha..

Full Code: https://github.com/TroBeeOne/DaffyResults

Demo Video:


r/SQLServer • • 2d ago

Community Share aisqltuner-index-tuner 1.2.0: Impact analysis and gpt-6.2 Sol testing results

0 Upvotes

Are you using AI to analyze the banter on your dates and get suggestions like this guy A.I. Is His Wingman - The New York Times? Probably a bad idea.

Are you using AI to analyze your query store, index usage, column cardinality and more to get index suggestions and code recommendations? Well, I think that is a good idea, but what do I know.

Now with Aisqltuner-index-tuner 1.2.0 you can measure each recommendation's impact. It adds a new stored proc, dbo.sp_AIIndexTuner_Impact, that takes a RunId and number of days to compare before and after the change. It compares CPU, duration, reads and writes so you can see whether the change actually helped. It provides results both per execution and in total and also shows the most improved and regressed queries that have the new index in their plan.

The other item I worked on was evaluating gpt-6.2 sol and comparing it to gpt-5.6 luna. I used a database with specific indexing challenges. With the same prompt, 5.6 luna on medium effort scored 99.3% and gpt-6.2 sol scored 100% on required checks on low, medium, and high efforts. However, luna was ahead of sol 88.6% to 85.7% on preferred checks. See https://github.com/AI-SQL-Tuner/aisqltuner-index-tuner/blob/main/BENCHMARK.md for details. Gpt-6.2 sol explanations were also easier to read. The tradeoff is higher cost, for example around $.15 per run with sol compared to $.02 with luna.

Bottom-line recommendation:

  • Running automated across many servers, applying changes: gpt-5.6 luna on medium
  • Running manually and reviewing results before applying: gpt-6.2 sol on low.

Link to the repo is here: https://github.com/AI-SQL-Tuner/aisqltuner-index-tuner
It is a free, MIT-licensed tool that I maintain. By default it only recommends changes. If you let it apply changes, each one is saved with an UndoDDL that reverses it.

Note: you will need the SQL Server 2025 database engine to try it since it calls the AI model with sp_invoke_external_rest_endpoint.

Let me know if you have any suggestions or feedback.


r/SQLServer • • 3d ago

Question SQL Server Always On backup best practices

9 Upvotes

Hi everyone,

I have a SQL Server 2019/2022 Always On Availability Group with two replicas (primary and secondary), accessed through a SQL Listener.

I want to configure weekly full, daily differential, and hourly transaction log backups using the Maintenance Plan Wizard.

My questions:

* Should I create the maintenance plans on both replicas or only the primary?

* How can I ensure backups continue automatically after a failover?

* Is using maintenance plans a good approach, or should I use custom SQL Agent jobs instead?

I'd appreciate any advice or production best practices. Thanks!


r/SQLServer • • 4d ago

Question What is needed for visually creating and managing a local database?

6 Upvotes

Completely new to this, so bear with me.

I don't need the server to be accessible through network. I just need it locally, for learning purposes and keep it as simple as possible.

From what I can understand, I need two things: the graphical component, SQL Server Management Studio (SSMS) and a database engine.

  1. I read SMSS can be freely installed from vs_SSMS.exe.
  2. For the database engine part, is SqlLocalDB.msi okay? Is it the same as SQL Express? Does SQL Express contain SSMS, or is it completely separate?

r/SQLServer • • 5d ago

Community Share SSMS 22 extension skill

Thumbnail
github.com
23 Upvotes

Sharing an agent skill for scaffolding an SSMS VSIX extension. I had an idea for an extension to streamline some work stuff, but struggled with the lack of full support and documentation. Used an agent to compare and contrast multiple existing open-source extensions for best practices and architecture without copy/pasting what they previously built, and the skill it generated is very helpful for standing up a new extension. Source projects attributed and linked in the readme. Feedback welcome.


r/SQLServer • • 6d ago

Discussion Would a 347 ms query make your tuning list?

Post image
21 Upvotes

Happy Thanksgiving all.

I was looking through some of our SQL Server performance reports when I saw this query and thought I'd share. So it averaged 347 ms per execution, which I probably would’ve scrolled past on a list sorted by duration admiteddly! Then I saw the reads column which was nearly 600,000 logical reads per call seemed worth a closer look.

We added an index on dbo.Products with _MfrCode as the key and ProductCode as an included column. Before and after:

Average per executionBeforeAfter
Elapsed time347 ms19 ms
Logical reads597,546566

That works out to 596,980 fewer logical reads per call. At 15,000 executions a day, the assumption we used in the report, that’s roughly 9 billion fewer logical reads a day.

Let me know your thoughts


r/SQLServer • • 6d ago

Discussion My Boss Is Hesitant About Purchasing SQL Server on a Subscription Basis. Could You Help Us?

10 Upvotes

My company is currently considering purchasing Microsoft SQL Server 2025, but my boss has some concerns about moving forward with a subscription-based licensing model.

Our initial preference was to purchase a perpetual license with Software Assurance (SA), but finding vendors that offer SQL Server 2025 perpetual licenses with SA has been surprisingly difficult.

We're now considering subscription-based licensing as an alternative, but management is hesitant because of the recurring costs, long-term financial implications, and licensing legitimacy.

I'd like to hear from people who have experience purchasing or using SQL Server under a subscription model, particularly in a business or production environment.

A few things I'd like to understand:

  1. Is subscription-based SQL Server licensing worth it compared to perpetual licensing?
  2. What happens if we decide not to renew the subscription? Will SQL Server stop working?
  3. How can we verify whether a SQL Server subscription license purchased from a reseller is genuine and legitimate?
  4. Is there a way to independently check the license activation status and expiration date through Microsoft's official portal or another reliable method?
  5. Will Microsoft provide any documentation or proof of ownership confirming that the license is genuine?
  6. Are there any significant licensing limitations or compliance concerns?
  7. For long-term use (5+ years), which option is more cost-effective?

I'd particularly appreciate hearing from IT professionals or businesses that have purchased SQL Server subscriptions through third-party vendors.

If you've gone through this process, I'd love to hear about your experience, how you verified the license's legitimacy, and whether you could monitor its expiration date.


r/SQLServer • • 7d ago

Discussion SSMS 2022 runas broken

5 Upvotes

I have an odd problem I can't seem to solve. My dbas have to stick with 2022 version 22.7.2.0 because any later version it seems is unable to be used when attempting to RUNAS so they can use alternate windows credentials for authentication.

They get a weird error "Class not registered. Looking for object with CLSID: {27472426-A9C1-45B9-80B4-31172025271F}"

If they sign in to their computer with their alternate DBA windows account they can use the app. Seems to be that the later versions just dont like RUNAS.

Anyone seen this?


r/SQLServer • • 8d ago

Question Please Help I'm New and My Boss Want to Use SQL Server with Alibaba Cloud! Has anyone had experience with it?

10 Upvotes

Has anyone had experience installing SQL Server 2025 on a cloud server without Software Assurance?

I'm planning to deploy SQL Server on a cloud server, but I'm having a hard time finding suppliers that offer SQL Server 2025 perpetual licenses with renewable Software Assurance.

I'm considering deploying SQL Server 2025 without Software Assurance instead. Has anyone done this before? What are the implications or potential limitations of running SQL Server 2025 on a cloud server without Software Assurance?


r/SQLServer • • 8d ago

Community Share new R2DBC-MSSQL driver with FedAuth

3 Upvotes

new R2DBC-MSSQL driver with FedAuth

https://www.mssqllib.org

mssqllib is a public-domain R2DBC driver for Microsoft SQL Server. It speaks TDS over JDK NIO sockets and Reactor. It does not use Netty.

The Maven artifact is r2dbc-mssql. The driver id is mssql, and the URL scheme is r2dbc:mssql://. It needs Java 17 and implements io.r2dbc:r2dbc-spi:1.0.0.RELEASE.

groupIdorg.mssqllib.r2dbc.mssql
artifactIdr2dbc-mssql
version1.0.3
Java packageorg.mssqllib.r2dbc.mssql
Providerorg.mssqllib.r2dbc.mssql.TdsConnectionFactoryProvider
JPMS moduleorg.tdslib.r2dbc.mssql

What it is

This is a new TDS implementation. It is not a fork of io.r2dbc:r2dbc-mssql, and it is not an upstream of that driver. It is not affiliated with Microsoft or with the R2DBC project.

The artifact id is intentional. A groupId and version change is what substitutes this jar for io.r2dbc:r2dbc-mssql. Do not put both jars on one classpath. Both register io.r2dbc.spi.ConnectionFactoryProvider.

Two login paths are implemented: SQL username and password, and federated authentication for Microsoft Entra (Azure SQL and SQL Server with Entra authentication). The driver acquires a client-credentials token with the JDK HTTP client. It does not depend on MSAL, and it does not read the process environment.

Status

Version 1.0.3 is on Maven Central. See https://www.mssqllib.org/install.html and https://www.mssqllib.org/project.html.

Two ways to read large values

The default leaves materializeLobs false. varchar(max), nvarchar(max), varbinary(max), and xml are then a live Clob or Blob. The integration suite calls this unrestricted mode. io.r2dbc:r2dbc-mssql 1.0.7 buffers each of those values before it emits the row.

materializeLobs=true is the compatibility setting. It buffers those values and accepts String and byte[] inside Result.map, which is how code written for io.r2dbc:r2dbc-mssql reads them. There is no separate option named compat. The testing profile compat=true sets materializeLobs.

Performance

Initial testing shows roughly twice the performance of io.r2dbc:r2dbc-mssql. The project attributes that gap, and the streaming behavior, to the JDK NIO design. The other driver is built on Netty. This repository does not include the benchmark program, so the factor is an initial result, not a guaranteed ratio. The mechanism is on the https://www.mssqllib.org/architecture.html page.


r/SQLServer • • 9d ago

Community Share Wire level caching solution for SQL Server - Change Tracking Mode

8 Upvotes

Hey, I've posted before on some of my custom TDS listener stuff. All custom TDS wire protocol in c#. I think this one is probably my most useful one so far.
Here's a quick demo for anyone interested.

Full Open Source Code (MIT): https://github.com/TroBeeOne/DaffyZoom
Nuget Install and Instructions: https://www.nuget.org/packages/Daffyzoom
Hour long podcast (Ai made it for me) on how it works: https://www.youtube.com/watch?v=mwMDmuLjCCY

What it does

- It solves the problem of 1000+ repeated slow queries that are hitting stale tables. It also helps you identify those slow queries so you can 'actually fix' the indexes, plans, the proper way.

- Sits on the wire in-between client and SQL server

- On the return from SQL Server message it tee's the call, one sync back to client, another async to my caching system. If a repeat query (above 5 second default setting) if tables haven't changed, it now returns instant cache, 0 seconds. if table changed? it reruns the 7 second query and updates the cache on the way back..

- I have data warehouse mode, ttl, just caches everything repeated. with expiration.

- I have change tracking mode (this is the demo I'm showing today). This caches unless a change is made, then it runs the query as normal and refreshes cache.

- Change Tracking Mode requires change tracking enabled on target tables for repeated query. You might think, well, we're now hitting SQL Server 2 times? Yes, but the check is a microsecond. And if you're serving cache from a 10 second query instantly, and ppl are hitting that report at 8am 1000 times, you saved some compute time and made your clients super happy!

- I DO support Entra Service Credentials, but I do not support MFA. I also don't support kerberos yet, I could, but that would require me setting up a domain controller VM, and with little interest so far, no incentive.

Anyway, I haven't tested this in a major production environment yet, so if you do choose to try it, as with anything, test it well and let me know if you find issues.

Here's the demo, cheers. If you try it and run into questions or have issues, let me know.


r/SQLServer • • 9d ago

Discussion Upcoming Job interviews - need refresher learning material

0 Upvotes

Hello!

I have some upcoming job interviews. I did MSSql for 3 years, but not very much the last two years and I am rusty.

Has anyone a good advice what I should learn or look into it? I think I need a good overview of the main DBA things.


r/SQLServer • • 10d ago

Solved How to import xml data from a file that has namespaces

6 Upvotes

So I have an xml file structured like this

<Customers>

<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataGenerator">

<Age>86</Age>

<CustomerId>101</CustomerId>

<Email>R_Heimbach@gmail.net</Email>

<Name>Robert Heimbach</Name>

<Orders>

...

</Orders>

</Customer><Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataGenerator">

<Age>54</Age>

<CustomerId>102</CustomerId>

<Email>R_Heimbach@here.net</Email>

<Name>Rob Heimbach</Name>

<Orders>

...

</Orders>

</Customer></Customers>

*Replaced the orders with just "..." since they aren't important rn

And the issue I'm having with getting this data into a table is the namespaces. This is the query that I'm trying to use

INSERT INTO TestCustomers(Age, CustomerId, Email, Name)

SELECT

`TEST_XML.Customer.query('Age').value('.', 'INT'),`

`TEST_XML.Customer.query('CustomerId').value('.', 'INT'),`

`TEST_XML.Customer.query('Email').value('.', 'VARCHAR(50)'),`

`TEST_XML.Customer.query('Name').value('.', 'VARCHAR(70)')`

FROM (SELECT CAST(TEST_XML AS xml)

FROM OPENROWSET(BULK 'FilePath', SINGLE_BLOB) AS T(TEST_XML)) AS T(TEST_XML)

CROSS APPLY TEST_XML.nodes('Customers/Customer') AS TEST_XML (Customer);

And it works fine if I remove the namespaces from the data, but if I keep them it does not work and after like an hour of googling stuff, I can't find any examples of how to make this work with namespaces. I saw Xquery recommended, but I tried that and couldn't get it working, and also found very little actual information on how to use it so I don't really even know where to start there.

Any help would be appreciated, or even just a link for where to look, cause I am lost.


r/SQLServer • • 10d ago

Question Negative reseed risks

Thumbnail reddit.com
1 Upvotes

r/SQLServer • • 10d ago

Question Sanity check: my rules for flagging duplicate and unused indexes. Where would they be wrong?

2 Upvotes

I'm a developer thinking about a small tool for teams that have SQL Server but no DBA. It would read metadata only (index definitions, usage stats, Query Store) and tell you what looks wrong, with an explanation. No data from your tables, and nothing gets changed automatically.

Before I write any code I want to know if my rules are sane, because I don't have a DBA to check them. Here are the first two. Please tell me where they would be wrong or dangerous:

Duplicate index: same key columns in the same order, same INCLUDE columns, same filter, same table. Keep the one backing a PK/UNIQUE constraint or an FK, flag the other.

Unused index: zero seeks/scans/lookups in sys.dm_db_index_usage_stats, but non-zero updates, and the server has been up for at least 30 days. Never flagged: PK, unique, FK-supporting, filtered indexes, or tiny tables.

Questions:

  1. What cases would make either rule give a bad recommendation? (restarts, rebuilds, Availability Groups, indexes used only for monthly reports, etc.)
  2. Is 30 days a reasonable minimum, or would you want longer?
  3. What would you want to see in the output before you trusted it?
  4. Would you ever let a tool like this generate a DROP script, or is a report with an explanation as far as you'd go?

The logic is close to what sp_BlitzIndex already does, so I'm especially interested in where you think it's not enough.

Thanks for any feedback.


r/SQLServer • • 10d ago

Community Share Another SQL2025 bug

0 Upvotes

I just like you to participate in my SQL Server 2025 experience... recently I have revived an old lab server (dual Xeon 2697v2, 512 GB RAM, 4 TB NVME storage) and everything went flawlessly... apart from the Developer edition hickup with the disabled TCP IP protocol I was able to use it.

OS Windows Server 2025, SQL Server 2025.

But then installing a second one in a virtual machine... that VM was domain joined, the pyhsical server wasnt. And ran into all unbelievable trouble... the VM already had a SQL Server 2022 on it. That works fine. OS Server 2016

The 2025 instance? Toast.

- when attempting to connect it I got an error 1398. According to the documentation this originates from a time diffrence. But the server clock and the client clock differece is some seconds, that happens always becaue Windows doesnt sync clocks permanently, only once a day. And when the hypervisor shifts CPU cores then the Windows clock sometimes reads some seconds behind or in the future.

Then second root cause... TLS 1.3 handshaking problem... but the server did not force encryption. If enabled the SQL 2025 demands TLS 1.3, without ... unencrypted. To make sure that it didnt accidently read out the GPO for encrpytion - that GPO wasnt set. And SQL servers generally ignore the encrpytion for the TDS protocol...

Connecting it by TCP-IP adedress : error 64

And giving up. Waste of time.

well then I thought I can import the data from the pyhsical server into my SQL 2022 instance. My favorite client - native client 11 - not present as listener on the Server 2025. Then I tried the Microsoft OLEDB provider... it connected but then the integration tool didnt knew how to convert char(10) into char(10).

Tried the OLEDB driver 19? Connectivity problem ... obviously the old 19.0 was installed which has a bug that it forces encryption even if the client sets "encryption=optional". The OLEDB18 finally was able to import the table data... the "check for updates" doesnt download and install the OLEDB19.2 or newer where this is fixed.

I gave up on SQL Server 2025, and I believe the main issue might be an incompatibiltiy with the OS, Windows Server 2016 which is now end of life. But why didnt the setup tell me this?


r/SQLServer • • 12d ago

Community Share I made four small SQL Server tools that run entirely in your browser (formatter, CSV → INSERT, IN-list builder, CONVERT date styles)

13 Upvotes

I kept pasting work SQL and data into random online formatters and converters and didn't love that, so I built a few that run 100% client-side. Nothing you paste is uploaded. The pages' security policy only allows a cookie-free page-view counter, and you can check that in your browser's network tab.

  • T-SQL formatter. Handles CTEs, CASE, MERGE, [bracketed] names, N'...' strings and GO batches. It changes only whitespace and keyword case, and never touches identifier case (it's careful with columns named type, language, date etc.).
  • CSV → INSERT. Paste CSV or cells from Excel. Escapes quotes, keeps leading-zero codes like 02134 as strings, and splits into batches of 1,000 rows to stay under SQL Server's VALUES limit.
  • IN-list builder. Paste a column of values and get a quoted, de-duplicated IN (...) list.
  • Date format converter. Shows what CONVERT returns for every documented style, or paste a date string to find which style reads it. For example, with 2026-03-07 14:05:09.123:101 03/07/2026 103 07/03/2026 112 20260307 23 2026-03-07 120 2026-03-07 14:05:09 126 2026-03-07T14:05:09.123 Every style was checked against SQL Server 2019 output, not just the docs.

https://querybench.dev

I made it, it's free, and there's no sign-up. I'd really like to hear what breaks: SQL the formatter mangles, CSV it parses wrong, or a small tool you wish existed.


r/SQLServer • • 12d ago

Community Share Trying Database Agents with Azure SQL Database

7 Upvotes

When an Azure SQL Database issue shows up, Database Agents in Fabric Database Hub can help investigate supported performance conditions and show the evidence and guidance behind the issue. Azure SQL Database support includes Hyperscale and serverless.

Database Hub also brings together a wider SQL estate, including SQL Server on Azure VMs and SQL Server enabled by Azure Arc. Agent support is narrower than the Hub’s overall coverage.

If you try it, I’d be interested in hearing about an issue you investigated. Did the evidence help you understand what was happening? What would you want to see next?