Transact-SQL

Dapper with PostgreSQL and MSSQL Server

Create a console app with .Net Framework 4.7.2 with Dapper and datasource in MSSQL Server or PostgreSQL. If you create this ancient app, you should only add Dapper and NPGSQL packages from Nuget. The support of MS SQL Server is already built in. The scenario for .Net Framework is from real life, several applications still […] Read more»

.Net & C#

Backup MSSQL database with compression

To create a full backup of MS SQL Server database with compression use this SQL command: use YourDataBaseName go BACKUP DATABASE YourDataBaseName TO DISK = 'Z:\BACKUP_FILE_NAME.bak' WITH COMPRESSION According to database size and your server capabilities, backup time can vary.   Read more»

SQL and databases

Popular Posts