Академический Документы
Профессиональный Документы
Культура Документы
DataBase Project
1. List out all the database related changes that needs to be deployed.
2. Right click on database object in SQL Server and create the script based
on the need like ‘Create/Alter/Drop’ script.
Note* Manual Process might miss out the dependent object script(s).
Process using Database Project
1. Create Database Project from File > New project > Sql Server(Template).
2. Right click on project from solution explorer and select ‘Schema compare’.
3. Configure and Select ‘Source’ and ‘Target’ database.
4. Click ‘Compare’ button in the Schema Compare Window toolbar to start the
comparison process.
6. It will cover all schema related changes like Table, Column Data type/size
change, Constraints, User defined objects, View, Indexes, properties etc
Disadvantage of using Database Project
1. Can be time consuming due to server traffic/speed
Prerequisite
1. Visual studio ( 2015 / 2013 / 2012 / 2010 / 2008 / 2005 )
Lets get started
Copyright 2019 Clarion. All Rights Reserved
Select schema changes
Select Source and from the comparison list
Create Database project Destination database(s) and click on ‘Generate
Script’
Create
Database
Project
Step 2
Select respective
‘Source’ and ‘Target’ db
Step 3
Configure ‘Source’
and ‘Target’ db
Step 4
To start comparison bw
both schema,
Click on ‘Compare’
Step 4
Select the
respective db
objects
Step 5
Click on
‘Generate Script’
Step 5