Skip to content


Articles

New Features in SQL Server 2025 for DBAs

http://smhoseini.ir/wp-content/uploads/2025/12/The-T-SQL-Revolution-for-the-AI-Intelligent-Data-Era.mp4 Table of contents Introduction 1. New Features in Security 2. Intelligent Query Processing (IQP) Enhancements 3. Important Improvements in Storage and File Management 4. Backup & Restore – New Generation 5. Agent, Automation and Governance 6. Smart Management of Memory, CPU and IO 7. New Features in High Availability and Disaster Recovery 8. Monitoring and Observability 9. Other Important Features for DBAs Summary Table — SQL Server 2025 Key Enhancements Conclusion SQL Server 2025 Upgrade Checklist References Introduction SQL Server 2025 (version 17.x, officially released in November 2025 and now generally available) is one of the most advanced and feature-rich

Read More »

Oracle REGEXP and Newlines

Oracle REGEXP and Newlines:Why You Must Use the ‘n’ Flag with CHR(10) http://smhoseini.ir/wp-content/uploads/2025/12/Oracle-1.mp4 Introduction When working with Oracle REGEXP functions such as REGEXP_SUBSTR, REGEXP_INSTR, or REGEXP_REPLACE, handling newline characters (CHR(10) or CHR(13)) can introduce subtle and hard-to-diagnose issues. A common assumption is that regular expressions behave consistently regardless of line breaks. However, in Oracle, the presence of newline characters changes how the REGEXP engine evaluates patterns — especially when delimiters themselves include newlines. This article highlights a lesser-known but critical detail: the necessity of using the ‘n’ match parameter when working with REGEXP patterns that involve newline characters. Through a real-world example,

Read More »
SQL Server 2025

Guide to New T-SQL Features in SQL Server 2025

In-Depth Technical Guide to SQL Server 2025 T-SQL Enhancements http://smhoseini.ir/wp-content/uploads/2025/12/The-T-SQL-Revolution-for-the-AI-Intelligent-Data-Era.mp4 Introduction This technical guide provides an in-depth analysis of all new T-SQL enhancements introduced in SQL Server 2025 (version 17.x, released November 2025).It covers every major category—including new data types, AI/vector functions, advanced JSON and regex features, indexing improvements, query processing enhancements, security updates, streaming capabilities, and engine-level optimizations.Each section includes: What it is: A clear explanation of the new feature. Why it matters: Practical benefits for DBAs and developers. Practical example: Ready-to-run T-SQL scripts (enable preview features with: ALTER DATABASE SCOPED CONFIGURATION SET PREVIEW_FEATURES = ON; GO This guide is

Read More »
Optimizing Heavy Queries in SQL Server_Running Total Case Study

Optimizing Heavy Queries in SQL Server: Running Total Case Study

http://smhoseini.ir/wp-content/uploads/2025/09/Optimizing-Heavy-Queries-in-SQL-Server_Running-Total-Case-Study.mp4 Query performance optimization is one of the most critical challenges in database management. Even a well-designed system may face performance bottlenecks when queries grow in complexity or when they are executed against large datasets. Among the common performance issues, calculating Running Totals stands out as a frequent requirement in reporting and analytics workloads — but it can also become a significant source of inefficiency if not implemented correctly. In this case study, I will share a real-world example from my recent work with SQL Server, where a heavy query built on a large view suffered from slow performance due to

Read More »
SQL Server 2025

How to Download & Install SQL Server 2025 and the Latest SSMS (A Clean, Step-by-Step Guide)

1 — Introduction SQL Server 2025 is Microsoft’s newest database platform, and SSMS (SQL Server Management Studio) is the primary, free GUI for administering it. In this guide, you’ll get a clean, practical path to: download official installers perform a reliable SQL Server 2025 setup install the latest SSMS verify your environment with a quick health check. The walkthrough is designed for developers, data professionals, and DBAs who want a frictionless installation with predictable outcomes. We’ll focus on best-practice choices that work for most machines (Developer or Express editions for non-production; Standard/Enterprise for licensed deployments), clarify each installer option as you

Read More »
SQL Server 2025 - Key New Features and Their Uses

SQL Server 2025 – Key New Features and Their Uses

SQL Server 2025 Key New Features and Their Uses AI & Vector Capabilities Vector Data Type & SearchSQL Server now supports a native VECTOR data type that stores embeddings efficiently. You can perform similarity searches inside the database using vector indexes (DiskANN), making tasks like recommendation systems and semantic searches much faster and easier. AI Model IntegrationYou can register and use AI models (e.g. ONNX, Azure, OpenAI) directly from T‑SQL. This means you can run machine learning logic—like generating embeddings or running inference—inside the database without external tools. Real-Time Change Event Streaming Change Event Streaming (CES)SQL Server can now publish data

Read More »

Why SQL is Important in MNC Interviews

SQL is one of the most in-demand skills for MNC interviews, especially for backend and data-related roles. Almost every company uses SQL to store and manage data efficiently. If you want to stand out, mastering SQL is a must! ✔ Structured & Reliable Organizes data in tables with clear relationships.✔ Powerful Querying – Retrieve, update, and manipulate data with ease.✔ Data Integrity – Ensures accuracy and consistency in databases.✓ Scalability – Handles large datasets efficiently.✔ Widely Used Companies use MySQL, PostgreSQL, SQL Server, and more. Common SQL Interview Topics:• Basic Queries (SELECT, INSERT, UPDATE, DELETE)• Joins (INNER, LEFT, RIGHT, FULL)• Indexing

Read More »