Skip to main content

Posts

Showing posts with the label Database

Different Editions of Microsoft SQL | Did you Know?

MSSQL, short for Microsoft SQL Server, is a widely-used relational database management system (RDBMS) developed by Microsoft. It provides a platform for storing, managing, and retrieving data in a structured manner. MSSQL is commonly used in enterprise environments for various applications, including web development, business intelligence, and data analysis. Its robustness, ease of use, and integration with other Microsoft products make it a popular choice among developers and database administrators. SQL Server is available in a range of editions, each catering to specific needs and requirements. This chapter provides an overview of the different editions along with their respective features. Enterprise Edition: Positioned as the top-tier offering, the Enterprise Edition encompasses a comprehensive set of features and functionalities. Standard Edition: The Standard Edition, while slightly less feature-rich than the Enterprise Edition, is ideal for scenarios where advanced feat...

How to take MS SQL Database Backup All At once | How to take all Database Backup from MS SQL Server

MS SQL is the most used database nowadays, we may have or maybe be in future, faced the issue of database backup, database backup with one by one single database is quite simple, you just have to right-click then go to Task then select backup and follow the instructions. But suppose you have 100s of databases that you need to backup  now one by one process is way difficult because you can't do the selection process every time to take the backup this will take years,  So how to take backup then? Use the below script to take any number of database backups in any MS SQL database. DECLARE @path VARCHAR(500) DECLARE @name VARCHAR(500) DECLARE @filename VARCHAR(256) -- 1. Setting the backup path SET @path = 'E:\Database_Backup_11022021'   -- 2. Defining cursor operations   DECLARE db_cursor CURSOR FOR   SELECT name  FROM master.dbo.sysdatabases  WHERE name  NOT in   ('Master')  --3. Initializing cursor operations OPEN d...