Author: OTI

Welcome to OurTechIdeas.com, your go-to destination for SQL Server DBA-related tech insights. We are a dedicated team of experts passionate about sharing our knowledge and expertise with the community. Join us as we explore the world of SQL Server, offering valuable tips, tutorials, and innovative solutions.

Error : FILESTREAM feature is disable

Introduction Error – System.Data.Sqltypes.SqlClent.SqlError:FILESTREAM feature is disable. (Microsoft.SqlServer.Smo) Scenario A database backup from a test server provided to DBA team and asked to restore it on a pre-production…

MSSQL

Run a Job on few specific dates of every month in SQL Server

Introduction As per business requirements, a report needs to generate four times every month. The report will generated by a Stored Procedure. So the DBA’s task is to…

MSSQL

Install SQL Server 2008R2 on Windows 2012R2

Introduction Installing lower version SQL Server on a higher version of Windows Server may be problematic at times of installation. Recently we have faced such a scenario. We…

MSSQL

Unable to begin a Distributed Transaction

Problem When your application uses the distribution transaction then you may encounter below error. Error: The operation could not be performed because OLE DB provider “SQLNCLI11” for linked…

MSSQL

Rename a Database in SQL Server

Introduction We can rename a user-defined database in SQL Server by using SQL Server Management Studio or Transact-SQL. System databases cannot be renamed. The database name cannot be…

MSSQL

Shrinking the Large Log File in SQL Server

Scenario We recently came across a situation where one of the drives in the production server is almost full. There are two large databases and they were not…

MSSQL

Find the database file growth for all the databases in SQL Server

Introduction Find the database file growth for all the databases. It is not a good practice to keep your database file growth limited. In that case, you may…

MSSQL

Database-Level Roles in SQL Server

Introduction There are two types of database-level roles: Fixed-database roles db_accessadmin Granted: ALTER ANY USER, CREATE SCHEMA,Granted with Grant option – Connect By SSMS By TSQL USE [Our_Tech_Ideas]…

MSSQL

How to get all statistics information for a database in SQL Server

Introduction: Sometimes your query gives you very bad performance because of statistics as SQL database engine Query optimizer uses statistics to create query plans. Updated statistics will give…

MSSQL

Table backup in SQL Server

Introduction Here we will discuss different backup strategies and methodologies used to take the table backup in SQL Server with real-life examples. There are different methods of taking…

MSSQL