Click here to Skip to main content
15,923,120 members
Home / Discussions / Database
   

Database

 
Questionwhat is the correct sentence to update a row? Pin
Sasuko21-May-05 9:54
Sasuko21-May-05 9:54 
AnswerRe: what is the correct sentence to update a row? Pin
gnjunge22-May-05 10:38
gnjunge22-May-05 10:38 
QuestionHow to specify the new database location in MySQL Pin
Hesham Amin20-May-05 23:28
Hesham Amin20-May-05 23:28 
GeneralADOCE.NET Pin
Abbas_Riazi20-May-05 0:13
professionalAbbas_Riazi20-May-05 0:13 
GeneralRe: ADOCE.NET Pin
niansah20-May-05 6:23
niansah20-May-05 6:23 
GeneralRe: ADOCE.NET Pin
Abbas_Riazi20-May-05 9:31
professionalAbbas_Riazi20-May-05 9:31 
GeneralSql database modification Pin
webhay19-May-05 9:44
webhay19-May-05 9:44 
GeneralRe: Sql database modification Pin
Colin Angus Mackay19-May-05 22:54
Colin Angus Mackay19-May-05 22:54 
Create deployment scripts.

Take a copy of the production database (what you are calling the deployment server). Back up the production database and restore it to a test environment. e.g. a second SQL server instance on your development machine.

Write scripts that change the data model and run it on the copy. You may have to do this several times to get the scripts right so they don't fail.

Once you have written and debugged the change scripts you can run them on the production system.

As a general note, you should think about how to deploy changes to a database before making the changes. The first thing I do is to create the change scripts and repeatedly test them as development progresses so that I don't have any nasty surprises at the end. Also, because the restore process can be lengthy it means that will your test environment is restoring in the background you can do other development.

Does this help?


My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


GeneralRe: Sql database modification Pin
webhay20-May-05 0:33
webhay20-May-05 0:33 
GeneralRe: Sql database modification Pin
Colin Angus Mackay20-May-05 0:42
Colin Angus Mackay20-May-05 0:42 
GeneralRe: Sql database modification Pin
webhay20-May-05 0:48
webhay20-May-05 0:48 
GeneralRe: Sql database modification Pin
GreggS20-May-05 6:08
GreggS20-May-05 6:08 
GeneralHELP!!! using distinct keyword causes error 0x80040E21 Pin
oyinbogo19-May-05 7:21
oyinbogo19-May-05 7:21 
Generalhelp in undertsnading the joins Pin
satishrg19-May-05 5:31
satishrg19-May-05 5:31 
GeneralRe: help in undertsnading the joins Pin
Colin Angus Mackay19-May-05 6:39
Colin Angus Mackay19-May-05 6:39 
GeneralRe: help in undertsnading the joins Pin
satishrg19-May-05 7:58
satishrg19-May-05 7:58 
GeneralRe: help in undertsnading the joins Pin
Colin Angus Mackay19-May-05 12:34
Colin Angus Mackay19-May-05 12:34 
Questionproblem with update a row? Pin
Sasuko19-May-05 5:10
Sasuko19-May-05 5:10 
AnswerRe: problem with update a row? Pin
Colin Angus Mackay19-May-05 5:31
Colin Angus Mackay19-May-05 5:31 
GeneralRe: problem with update a row? Pin
Sasuko19-May-05 11:41
Sasuko19-May-05 11:41 
AnswerRe: problem with update a row? Pin
Luis Alonso Ramos19-May-05 14:09
Luis Alonso Ramos19-May-05 14:09 
GeneralRe: problem with update a row? Pin
Sasuko20-May-05 2:57
Sasuko20-May-05 2:57 
GeneralRe: problem with update a row? Pin
Sasuko20-May-05 4:19
Sasuko20-May-05 4:19 
GeneralRe: problem with update a row? Pin
Luis Alonso Ramos20-May-05 4:58
Luis Alonso Ramos20-May-05 4:58 
GeneralRe: problem with update a row? Pin
Sasuko20-May-05 5:00
Sasuko20-May-05 5:00 

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.