Month: October 2019

Posted in MS SQL

How to run a SQL query using command prompt without SQL SSMS

Introduction How to run a SQL query using command prompt without SQL…

Find IP and Port using SQL SSMS
Posted in MS SQL

Find IP and Port using SQL SSMS

Find IP and Port using SQL SSMS Find IP and Port of…

How to find out user activity on database without any particular Auditing
Posted in MS SQL

Find user activity without any Auditing

How to find out user activity on database without any particular Auditing…

Apply latest service pack to standalone SQL Server
Posted in MS SQL

Latest service pack to SQL Server

Apply latest service pack to standalone SQL Server We have given a…

Posted in MS SQL

Find SQL Server/Instance details using SQL query

Scenario Sometimes you need to gather the SQL instance details in a…

Posted in MS SQL

Login failed for user ‘XXXX’ (Microsoft SQL Server, Error: 18456)

Scenario You often get complained that user is not able to connect…

Posted in MS SQL

Error : FILESTREAM feature is disable

Introduction Error – System.Data.Sqltypes.SqlClent.SqlError:FILESTREAM feature is disable. (Microsoft.SqlServer.Smo) Scenario A database backup…

Posted in MS SQL

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…

Posted in MS SQL

Install SQL Server 2008R2 on Windows 2012R2

Introduction Installing lower version SQL Server on a higher version of Windows…

Posted in MS SQL

Unable to begin a Distributed Transaction

Problem When your application uses the distribution transaction then you may encounter…

Posted in MS SQL

Rename a Database in SQL Server

Introduction We can rename a user-defined database in SQL Server by using…

Posted in MS SQL

Shrinking the Large Log File in SQL Server

Scenario We recently came across a situation where one of the drives…

Posted in MS SQL

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

Introduction Find the database file growth for all the databases. It is…

Posted in MS SQL

Database-Level Roles in SQL Server

Introduction There are two types of database-level roles: fixed-database roles that are predefined…

Posted in MS SQL

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

Introduction: Sometimes your query gives you very bad performance because of statistics…

Posted in MS SQL

Table backup in SQL Server

Introduction Here we will discuss different backup strategies and methodologies used to…

Posted in MS SQL

Step By Step Installation Of Microsoft SQL Server 2016

Introduction In this post, we will try to show step by step…

Posted in MS SQL

Database Backup & Restore in SQL server

Introduction Backing up a database is one of the most important things…