This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://msdn.microsoft.com/en-us/library/microsoft.sqlserver.dts.runtime.application.upgrade.aspx | |
using System; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Text; | |
using Microsoft.SqlServer.Dts.Runtime; | |
namespace ConsoleApplication1 | |
{ | |
class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- run separate steps, one number at a time | |
-- 01 create database | |
USE master; | |
GO | |
IF DB_ID('test_security') IS NULL | |
EXEC sys.sp_executesql N'CREATE DATABASE test_security;'; | |
GO |