Skip to main content

Recently Updated Pages

SQL - Try Catch Rollback

Database Toolset

BEGIN TRY BEGIN TRANSACTION; -- SQL statements that are part of the transaction ...

Updated 1 year ago by Admin

MsSQL - Restore Agent Jobs from Another MSDB database

Database Toolset

This is to copy by specific Job --- ErangaMSDB is the copy of the old msdb --- DECLARE @JobID U...

Updated 1 year ago by Admin

MsSQL - Export Stored Procedures and Views to Files

Database Toolset

Use the Generate Scripts tool in SSMS: Right Click Database in Object Explorer. Tasks -> Gene...

Updated 1 year ago by Admin

Log4Net - Wrapper

Visual Studio

https://stackoverflow.com/questions/1028375/how-do-you-configure-and-enable-log4net-for-a-stand-a...

Updated 2 years ago by Admin

Service - Add Installer and Setup

Visual Studio

Go to Solution Explorer and right-click on your project solution then go to the view designer the...

Updated 2 years ago by Admin

MsSQL - Set All User Tables to Simple on DEV/TEST Server

Database Toolset

/* This script is to set all of the user database to simple on a DEV/TEST server Use the @U...

Updated 2 years ago by Admin

MsSQL - Move TempDB To Another Drive

Database Toolset

Sometimes as a database administrator, you need to move the TempDB database and log files to a ne...

Updated 2 years ago by Admin

MsSQL - Create Database Table from Code

Database Toolset

declare @TableName sysname = 'TableName' declare @Result varchar(max) = 'public class ' + @Table...

Updated 2 years ago by Admin

Visual Studio - Bag of Tricks

Visual Studio

To Add underscore to fieldNames

Updated 2 years ago by Admin

MsSQL - SQL Reporting Services

Database Toolset

Enable Errors Connect to the database engine in SSMS and navigate to the ReportServer databa...

Updated 2 years ago by Admin

Powershell - Printers

Powershell

Printers Delete Printers https://community.spiceworks.com/topic/1932797-use-powershell-to-delet...

Updated 2 years ago by Admin

Visual Studio - Deploy to Linux

Visual Studio

The only thing that you need to do do to deploy to Linux is too change the target runtime setting...

Updated 2 years ago by Admin