Click here to Skip to main content
16,008,750 members
Home / Discussions / Database
   

Database

 
AnswerRe: Select satatment Pin
Cristian Amarie25-Dec-06 22:42
Cristian Amarie25-Dec-06 22:42 
AnswerRe: Select satatment Pin
albCode26-Dec-06 1:32
albCode26-Dec-06 1:32 
QuestionHow to fill null value for a column in Oracle Pin
NK723-Dec-06 9:35
NK723-Dec-06 9:35 
AnswerRe: How to fill null value for a column in Oracle Pin
Chris Meech24-Dec-06 12:08
Chris Meech24-Dec-06 12:08 
QuestionBuild Errors on SQL Statement Pin
Swisher2422-Dec-06 8:40
Swisher2422-Dec-06 8:40 
AnswerRe: Build Errors on SQL Statement Pin
Colin Angus Mackay22-Dec-06 10:14
Colin Angus Mackay22-Dec-06 10:14 
GeneralRe: Build Errors on SQL Statement Pin
Swisher2427-Dec-06 5:50
Swisher2427-Dec-06 5:50 
QuestionScript/tool to update schema of my database when the latest_schema script is provided Pin
PrashantJ22-Dec-06 5:36
PrashantJ22-Dec-06 5:36 
Hi All,

I want to write a script/tool which would update the schema of the existing database (in SQL Server 2005)
i.e Add/drop a table, column, constraint etc. on a ongoing basis.

The input to my tool would be the latest_schema script which creates the database with all the latest tables, columns, constraints etc.
So the tool that I am going to write should perform a schema-diff with my db Vs the script provided and add/drop the tables, cols, constraints on my database.

I have a couple of solutions in my mind but feel that they are not very efficient.
1. Create a new database running the provided script, write a stored procedure to loop thro all the tables to figure out the diff between the existing db and the current db and update the current db: Problem here is my current db has data and lots of constraints, which might pose a problem.
2. Use some third party tools to generate the sync script and execute it against my current db but I am not sure about the free tools available out there.

Can somebody please provide me some guidelines/tips on how to go ahead about this.

Thanks in advance.
PJ

QuestionHow codeproject stores articles ? Pin
devboycpp22-Dec-06 3:59
devboycpp22-Dec-06 3:59 
QuestionSql Statement not pulling any results Pin
Almerica22-Dec-06 1:00
Almerica22-Dec-06 1:00 
AnswerRe: Sql Statement not pulling any results Pin
Pete O'Hanlon22-Dec-06 1:43
mvePete O'Hanlon22-Dec-06 1:43 
GeneralRe: Sql Statement not pulling any results Pin
Almerica22-Dec-06 2:19
Almerica22-Dec-06 2:19 
GeneralRe: Sql Statement not pulling any results Pin
Chris Buckett22-Dec-06 4:15
Chris Buckett22-Dec-06 4:15 
GeneralRe: Sql Statement not pulling any results Pin
Almerica22-Dec-06 4:18
Almerica22-Dec-06 4:18 
QuestionIs the syntax correct??? Pin
apoorva_raje22-Dec-06 0:36
apoorva_raje22-Dec-06 0:36 
AnswerRe: Is the syntax correct??? Pin
Pete O'Hanlon22-Dec-06 0:43
mvePete O'Hanlon22-Dec-06 0:43 
QuestionHow to debug a storeprocedure in sql server 2000 and 2005? Pin
irkahc22-Dec-06 0:02
irkahc22-Dec-06 0:02 
AnswerRe: How to debug a storeprocedure in sql server 2000 and 2005? Pin
Pete O'Hanlon22-Dec-06 0:44
mvePete O'Hanlon22-Dec-06 0:44 
AnswerRe: How to debug a storeprocedure in sql server 2000 and 2005? Pin
PrashantJ22-Dec-06 9:08
PrashantJ22-Dec-06 9:08 
QuestionSQL Pin
Bravoone_200621-Dec-06 23:02
Bravoone_200621-Dec-06 23:02 
AnswerRe: SQL Pin
Christian Graus21-Dec-06 23:26
protectorChristian Graus21-Dec-06 23:26 
AnswerRe: SQL Pin
Pete O'Hanlon21-Dec-06 23:28
mvePete O'Hanlon21-Dec-06 23:28 
QuestionRe: SQL Pin
Bravoone_200621-Dec-06 23:34
Bravoone_200621-Dec-06 23:34 
AnswerSQL Pin
Frank Kerrigan21-Dec-06 23:38
Frank Kerrigan21-Dec-06 23:38 
QuestionRe: SQL Pin
Bravoone_200622-Dec-06 0:06
Bravoone_200622-Dec-06 0:06 

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.