r/SQLServer • • Mar 25 '20

Tutorials LearnSQL.com free access to all courses until 04/20/2020

32 Upvotes

Hi all,

So I've been learning SQL for some time now, I've tried different websites and methods. Now that I have more time on my hands, unfortunately, I've invested in online courses. One site which I use is LearnSQL.com. Last Friday, I got an email from them. In the email, it stated that due to the current world situation, they are opening their platform to everyone.

It's a browser-based e-learning platform with interactive courses.

You can learn MS SQL, My SQL PostgreSQL on various levels.

Moreover, you can find tutorials, guides, cookbooks, and other stuff on their blog - just check the "library".

If you are interested, read the full story here.

I hope some of you will find this useful. Please remember to stay at home.

Cheers!


r/SQLServer • • Nov 10 '19

State of the SQL Server tools - SQL Server Blog

Thumbnail
cloudblogs.microsoft.com
32 Upvotes

r/SQLServer • • Sep 24 '19

Blog SQL Server Management Studio 18.3 is now generally available

Thumbnail
cloudblogs.microsoft.com
32 Upvotes

r/SQLServer • • Apr 23 '19

PSA: SSAS, SSIS, and SSRS are now supported on VS2019

32 Upvotes

They've all moved to "extensions" that you install via the marketplace. I put "extensions" in quotes because SSIS is actually a standalone installer in addition to a VSIX package - when you click install in the marketplace it just has you download a .exe. SSAS and SSRS have moved to be full blown VS extensions.


r/SQLServer • • Feb 25 '19

Automating File Loading Into SQL Server With Python And SQL - Part 1

Thumbnail
youtube.com
32 Upvotes

r/SQLServer • • Jan 30 '19

Community Share Inarguably, SSMS v18 release 6 has the darkest of dark modes, yeah?

Post image
32 Upvotes

r/SQLServer • • Dec 02 '18

Just passed my 98 - 364!!!

32 Upvotes

I know this is the easiest of all the certs, but it's my first one!!! With no background, (work at a call center) I over prepared for 2 months. Between train signal and ucertify, I was extremely comfortable taking the test. Next step I can start taking classes towards a degree.


r/SQLServer • • Apr 11 '18

How I Passed the 98-364

32 Upvotes

Just passed this yesterday. I figured I would do a write-up to help others that want to take this test, as I had a very difficult time finding relevant materials. Hopefully, this will help future test takers to save time and money during their pursuit of passing the 98-364.

Before studying for this test, I had very limited experience with SQL. I recently got moved to a position within my company where I administer a SQL database and a MySQL database. These databases had more or less "taken care of themselves" in the past and if there were ever any issues, we would pay a consultant to take care of them. As the new admin, I found that my limited understanding of SQL was preventing me from being able to implement the types of solutions that I wanted to. I was at a point where I could kind of alter an existing query to get it to return the info I needed but I had no real understanding of SQL or databases in general.

Here are the materials that I studied before taking the test:

Microsoft Virtual Academy: These videos are ok. The amount of material they go over is pretty meager. It couldn't hurt to watch these, but they by no means provide you with everything that you need to pass the test. I recommend watching these videos first just to get yourself familiarized with key concepts.

TrainSignal: More in-depth than MVA, but it is a little dry. They're basically all black text on a white background. It's free so, again, it couldn't hurt to watch them and I would recommend maybe watching them towards the end of your preparation as a refresher.

Virtual Training Company: This was by far the best video series that I found. It costs around $30 but I think it's worth it. They are the only "hands-on" videos that I was able to find. The instructor walks you through installing SSMS, creating databases and database objects, querying, etc. Highly recommended.

Database Administration Fundamentals book: Let me start off by saying that this books is 7 years old, has horrible reviews, and has inaccurate information in some spots. It has sample exercises and questions but does not provide the answers. That being said, I would still strongly recommend this book. Unfortunately, Microsoft does not publish an Exam Ref for this test so this is the most recent official book for the 98-364. Read the entire thing, work through the exercises, answer the questions, and validate that your answers are correct by either testing them on your own test DB or looking for the answers online. Just Google, you can find this book online. Highly recommended until Microsoft releases an Exam Ref for the test (if they ever do).

MeasureUp tests: DO NOT WASTE YOUR MONEY ON THESE. I paid about $90 for these and I regret it. I haven't used MeasureUp tests before, and they are considered to be "Official Microsoft Practice Tests" so they may be useful for other Microsoft tests but definitely not the 98-364. These tests are way harder than the actual test and do not give you an accurate gauge of how well you would do on the test. After watching the 3 video courses, I took a practice test and got a 60/100. I decided I would need to study more, so I read the book. After going through the book, I took another practice test and got a 65/100. Even after going through all that material, I was still running into a bunch of questions about topics that I still had never even heard of before. That's because those topics simply are not on the test. At this point it was either take the test and see how it goes or read the T-SQL Fundamentals book that is nearly 500 pages long since I could not find any other material that was geared specifically towards the 98-364. That seemed a little excessive for passing an entry level test, so I decided to just take my chances and schedule the test. It took me less than 15 minutes to complete and I made an 85. So, to reiterate, DO NOT WASTE YOUR MONEY ON THESE.

Hope this helps anyone that wants to pass the 98-364! (Now onto the 70-761)


r/SQLServer • • Mar 13 '18

The SQL Server Tiger Team Bookmarks

Thumbnail
thomaslarock.com
32 Upvotes

r/SQLServer • • Sep 25 '17

SQL Server 2017 goes live!

Thumbnail
arstechnica.com
32 Upvotes

r/SQLServer • • Sep 14 '26

Question Modernization Monday - SQL Server 2016 support has ended—what is actually preventing you from moving?

31 Upvotes

SQL Server 2016 reached end of support on July 14.

I’m a PM working on SQL migration and modernization at Microsoft. I’m trying to understand what teams are actually doing with their remaining SQL Server 2016 workloads

For anyone still running it:

  • What is preventing you from upgrading or migrating?

  • Are you using Extended Security Updates, accepting the risk, or actively moving?

  • Is the real blocker the database, the application, vendor certification, downtime, cost, or something else?

  • Which destination are you considering: a newer SQL Server version, Azure SQL, SQL Server on a VM, or another platform?

I’m especially interested in cases where everyone agrees the workload should move, but the migration still cannot earn priority.

What would need to change for the project to go ahead?


r/SQLServer • • Mar 13 '26

Question SQL Server performance on Windows Server 2025

31 Upvotes

I have been doing some performance testing using HammerDB against different versions of Windows Server running different versions of SQL Server.

My findings when doing these tests is that SQL Server 2022 on Windows Server 2022 was the setup that performed the best followed by SQL Server 2019 on Windows Server 2019.

It was also interesting to see that Windows Server 2025 seems not to be the best option for running SQL Server at the moment.

The setup I used on all vms running SQL Server:

  • 4 vCPU

  • 24 GB RAM

  • Max DOP = 1

  • Max mem = 17000

  • Compability level: Latest available on the platform being tested

  • Query store active in test database

  • Recovery model: Simple

  • Datacenter edition of Windows Server

  • Enterprise edition of SQL Server

  • Latest patches applied on both OS and SQL level at the time of doing the tests

  • Virtualization platform used was VMware

VM running HammerDB:

  • 4 vCPU

  • 16 GB RAM

  • Windows Server 2025 with latest patches applied

I created the test database used during the test with help of HammerDB and configured it to contain 100 warehouses. The test database was restored before each new round of testing.

All tests configured to use:

  • 8 virtual users

  • 10000000 total transactions per user

  • Minutes of ramp up time: 2

  • Minutes for test duration: 5

  • Keying and thinking time disabled

  • TPROC-C (OLTP)

  • Windows authentication used when connecting to the test database

Below are the results from four rounds of testing. Values of NOPM (new orders per minute) and TPM (transactions per minute) are the average values.

WinSQLNOPMTPM
20192019 CU32122490.75284562.75
20222022 CU23123878.50287776.00
20222025 CU2110338.25256388.50
20252022 CU23116974.25271422.25
20252025 CU2107703.25250325.50

Processors used was Intel Xeon Gold 6246R, 3.40GHz and no overcommitment in the virtualization platform.

As you can see by the above values SQL Server 2022 on Windows Server 2022 is about 15 % better than SQL Server 2025 on Windows Server 2025.

I also performed some tests against newer hardware but Windows Server 2022 with SQL Server 2022 still was performing better.

Has anyone else seen similar results? what are your experiences?


r/SQLServer • • Jan 20 '26

Community Share SSMS Tools Pack 7.0 Released

31 Upvotes

Since I know there's some SSMS Tools Pack users here, thought I'd share Mladen's update:

SSMS Tools Pack 7.0 has been released!

✅ Full support for SSMS 21 and SSMS 22!
It took a bit of time but SSMS Tools Pack now fully supports both SSMS 21 and SSMS 22, so you can upgrade your environment and keep your workflow intact.

✅ Favorite Connections
You can now save your connections for one-click reuse.
Open a new query window or Object Explorer with a single click from your saved favorites, making it much faster to jump between commonly used servers and databases.

✅ Connection Coloring in SSMS 21 and SSMS 22 now also applies to following windows:
- Edit Top N Rows
- Table Designer
- New Table

It's all easy to use and awesome at the same time.
Hope you like it!

Source: https://www.linkedin.com/posts/mladenprajdic_ssms-tools-pack-activity-7419159167527211008-LXq5


r/SQLServer • • Aug 20 '25

Community Share With SQL Server, 'ABCD' = 'ABCD ' evaluates to true, but 'ABCD' = ' ABCD' evaluates to false. Also, len(' ABCD') returns 5, but len('ABCD ') returns 4.

Post image
31 Upvotes

I just found out that while looking into a bug. I'm sure many here already knew, but for those who didn't I think that's interesting to know.

To quote the official doc:

The SQL Server Database Engine follows the ANSI/ISO SQL-92 specification (Section 8.2, Comparison Predicate, General rules #3) on how to compare strings with spaces. The ANSI standard requires padding for the character strings used in comparisons so that their lengths match before comparing them. The padding directly affects the semantics of WHERE and HAVING clause predicates and other Transact-SQL string comparisons. For example, Transact-SQL considers the strings 'abc' and 'abc ' to be equivalent for most comparison operations. The only exception to this rule is the LIKE predicate. When the right side of a LIKE predicate expression features a value with a trailing space, the Database Engine doesn't pad the two values to the same length before the comparison occurs. Because the purpose of the LIKE predicate, by definition, is to facilitate pattern searches rather than simple string equality tests, this predicate doesn't violate the section of the ANSI SQL-92 specification mentioned earlier.


r/SQLServer • • Jul 02 '25

Finally migrating from 2000.

31 Upvotes

Yeah, we have had a legacy app that doesn't run in a newer OS than 2003, and is hard-coded to only connect to a local SQL instance. Application is being retired, but data still queried for BI purposes.

There is no question, other than how many jaws dropped, and who's raising a drink?


r/SQLServer • • Feb 27 '25

Community Share Exciting new T-SQL features: Regex support, Fuzzy string-matching, and bigint support in DATEADD – preview

Thumbnail devblogs.microsoft.com
31 Upvotes

r/SQLServer • • Jun 17 '23

Community Share Dumb query of the day for your entertainment

31 Upvotes

System admin contacts me about high CPU on the database server.

"Contacts" table on the back end of a website. Apparently this table stores a "contact" record for everyone who uses the website. Every record is for the name "Anonymous" and there are hundreds of millions of records. No cleanup process in the app for this table, apparently.

This dumb query has used 4 hours of cpu time over the last 7 hours:

Select count(*) from (Select * from dbo.contacts)

While SQL Server is able to parse out the psychotic part and treat this query like a normal count, the application is still running this frequently.

So in conclusion, our application is currently dedicating about 15% of the total potential CPU of the server entirely to finding out how many records are in a completely useless table.

To think how far we've come since marvels of efficiency like Roller Coaster Tycoon.


r/SQLServer • • Mar 10 '23

Those who self-taught SQL Server, how did you do it and which resources did you use?

31 Upvotes

And which will you recommend?


r/SQLServer • • Oct 02 '22

Community Share SQL server quick tips

31 Upvotes

Interested in short SQL Server tutorials? I have 20 YouTube tutorials that are under 10 minutes and cover topics such as setting up dark theme, grand totals & subtotals, recursive CTEs, deleting duplicate records, calculating percentages, running totals & more!

🖥📈 You can check out the playlist below:

https://www.youtube.com/playlist?list=PLKXb3B8q0HcDBcs8lbizmKaaJhPnnH3Tp

Or check out some of the individual tutorials below:

🖥📈 Displaying Subtotals & Grand Totals with the SQL Server Rollup Clause

https://youtu.be/i1kPMI8sV6w

🖥📈 Creating SQL Stored Procedures with Multiple Parameters

https://youtu.be/YwW0oSkzlk8

🖥📈 SQL Dynamic Pivot Explained SIMPLY | with Syntax & Use Cases

https://youtu.be/3kW4LoAICUQ

🖥📈 Setting Up Dark Theme in SQL Server Management Studio

https://youtu.be/qLFPVF__e5s

🖥📈 Using SQL to Calculate the Percentage of a Total | Percentage of Customer Spend

https://youtu.be/NOt9ytdI7kM

🖥📈 SQL Server String Concatenation with NULL Values | '+', CONCAT(), CONCAT_WS()

https://youtu.be/xv4zX1AkYIA


r/SQLServer • • Apr 28 '21

Reminder- use the Query Store

31 Upvotes

This coming to you from someone who's made a lot of use of it lately, and while I was aware of it, "never got around to using it much" for a while before.

It's in SQL Server 16 and above- I believe it gets enabled on your DB by default, but it's super quick to flip on or off.

Gives you really handy tools to see stuff like regressed queries, top resource consuming queries, queries with forced plans, queries with high variation, etc, also while giving you the ability to filter based on timeframe and different metrics. (Avg duration increase vs total IO time increase, etc)

It's great for general monitoring (head off a problem before it becomes noticeable or bigger) troubleshooting performance issues, doing before/after comparisons for code/environmental switches or SQL version shifts. Tons of use cases.

There's a lot of good guides out there to get started with it as well as more indepth. If anyone has a particular they'd like to recommend, please post it!


r/SQLServer • • Jan 15 '21

Meta I want to hear some SQL Server horror stories

31 Upvotes

r/SQLServer • • Mar 17 '20

RAISEERROR Severity and what happens at each level (cheat sheet) - I keep this in my notes and refer to it often, so I thought I would share? (Columns FROM/TO refer to the Severity level in the RAISEERROR command).

Post image
31 Upvotes

r/SQLServer • • Jan 27 '20

Licensing I passed 70-761 on my first attempt.

31 Upvotes

I passed the 70-761 exam last week. I have no prior IT experience, never worked with SQL server in my life but last September I decided i have to make a career change and from an ocean of choices I decided I want to work with databases.
I disciplined myself to study on a daily basis, I googled for sites with SQL Server exercises and created the databases on my own in my SSMS, I also got Itzik Ben Gan's refference for the exam which I studied 3 times with the pen and my notebook and the SSMS by my side and the forth time I just hovered over it to note the syntax.
I passed on my first attempt and finished the exam in the last minute. I was so happy I passed that I scheduled 70-762 in march as a reward for myself.


r/SQLServer • • Oct 22 '19

Every Execution Plan Is An Estimated Plan

Thumbnail
scarydba.com
31 Upvotes