Click here to Skip to main content
12,699,367 members (34,766 online)
   

Database

 
GeneralRe: sql server 2008 query, Pin
Mycroft Holmes27-Feb-13 20:26
memberMycroft Holmes27-Feb-13 20:26 
AnswerRe: sql server 2008 query, Pin
gvprabu28-Feb-13 22:28
membergvprabu28-Feb-13 22:28 
QuestionSQL Server 2012 annoyance... Pin
_Damian S_27-Feb-13 16:21
member_Damian S_27-Feb-13 16:21 
AnswerRe: SQL Server 2012 annoyance... Pin
_Damian S_27-Feb-13 20:27
member_Damian S_27-Feb-13 20:27 
GeneralRe: SQL Server 2012 annoyance... Pin
Mycroft Holmes27-Feb-13 20:57
memberMycroft Holmes27-Feb-13 20:57 
GeneralRe: SQL Server 2012 annoyance... Pin
_Damian S_27-Feb-13 21:06
member_Damian S_27-Feb-13 21:06 
GeneralRe: SQL Server 2012 annoyance... Pin
Mycroft Holmes27-Feb-13 21:47
memberMycroft Holmes27-Feb-13 21:47 
QuestionWhat order to be followed while generating schema upgrade script? Pin
Member 313707826-Feb-13 19:10
memberMember 313707826-Feb-13 19:10 
I've two databases consider as OldVersion and NewVersion. What I would like to do is that I need to compare the database for DDL changes (schema changes such as column difference, datatype difference, table difference). I would like to compare and generate a script such a way that it will upgrade the OldVersion database same as NewVersion database.

This is not a straight way to do that. Say for example, if a column is FK, that column could not be altered. This is one constraint. Likewise what are the possible constraints to generate the script? How could I resolve them?

To generate the script for entire database in what order I've to work on. I look for answer such as Drop Index, Drop Constraints, Drop Columns or Alter Column, Alter Index, Add Contraints in particular order.

I know I've some tools in place for that. But I would like to generate it.

The question is lengthier one. Please bear with me and provide your solution.
AnswerRe: What order to be followed while generating schema upgrade script? Pin
Mycroft Holmes27-Feb-13 21:01
memberMycroft Holmes27-Feb-13 21:01 
GeneralRe: What order to be followed while generating schema upgrade script? Pin
Member 313707827-Feb-13 22:40
memberMember 313707827-Feb-13 22:40 
GeneralRe: What order to be followed while generating schema upgrade script? Pin
Mycroft Holmes27-Feb-13 23:15
memberMycroft Holmes27-Feb-13 23:15 
QuestionSQL weirdness when aliasing columns Pin
Gregory.Gadow22-Feb-13 12:19
memberGregory.Gadow22-Feb-13 12:19 
AnswerRe: SQL weirdness when aliasing columns Pin
gvprabu22-Feb-13 19:18
membergvprabu22-Feb-13 19:18 
AnswerRe: SQL weirdness when aliasing columns Pin
Mycroft Holmes24-Feb-13 14:08
memberMycroft Holmes24-Feb-13 14:08 
GeneralRe: SQL weirdness when aliasing columns Pin
Gregory.Gadow28-Feb-13 10:09
memberGregory.Gadow28-Feb-13 10:09 
GeneralRe: SQL weirdness when aliasing columns Pin
Mycroft Holmes28-Feb-13 13:04
memberMycroft Holmes28-Feb-13 13:04 
GeneralRe: SQL weirdness when aliasing columns Pin
Gregory.Gadow1-Mar-13 6:10
memberGregory.Gadow1-Mar-13 6:10 
AnswerSolution Pin
Gregory.Gadow1-Mar-13 10:28
memberGregory.Gadow1-Mar-13 10:28 
GeneralRe: Solution Pin
Mycroft Holmes1-Mar-13 12:53
memberMycroft Holmes1-Mar-13 12:53 
QuestionDatabase Pin
Member 961179522-Feb-13 9:52
memberMember 961179522-Feb-13 9:52 
AnswerRe: Database Pin
jschell22-Feb-13 10:30
memberjschell22-Feb-13 10:30 
AnswerRe: Database Pin
mark merrens22-Feb-13 11:38
membermark merrens22-Feb-13 11:38 
GeneralRe: Database Pin
Member 961179523-Feb-13 2:05
memberMember 961179523-Feb-13 2:05 
GeneralRe: Database Pin
S Douglas28-Feb-13 8:58
memberS Douglas28-Feb-13 8:58 
AnswerRe: Database Pin
Jörgen Andersson22-Feb-13 12:11
memberJörgen Andersson22-Feb-13 12:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 20 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid