Click here to Skip to main content
15,901,284 members
Home / Discussions / Database
   

Database

 
AnswerRe: modify a table scheme Pin
Bernhard Hiller12-Oct-10 20:58
Bernhard Hiller12-Oct-10 20:58 
QuestionNumber of query srtings and destination values are not matched" Pin
Thanusree Duth11-Oct-10 21:25
Thanusree Duth11-Oct-10 21:25 
AnswerRe: Number of query srtings and destination values are not matched" Pin
Goutam Patra11-Oct-10 21:58
professionalGoutam Patra11-Oct-10 21:58 
QuestionPrint numbers Pin
SatyaKeerthi1511-Oct-10 21:12
SatyaKeerthi1511-Oct-10 21:12 
AnswerRe: Print numbers Pin
Blue_Boy11-Oct-10 21:43
Blue_Boy11-Oct-10 21:43 
AnswerRe: Print numbers Pin
PIEBALDconsult12-Oct-10 3:09
mvePIEBALDconsult12-Oct-10 3:09 
QuestionWhat is the best way to track 'database' modifications? Pin
coder21k10-Oct-10 23:37
coder21k10-Oct-10 23:37 
AnswerRe: What is the best way to track 'database' modifications? Pin
David Mujica11-Oct-10 3:06
David Mujica11-Oct-10 3:06 
How about this ?
Create a "version" table where you could store a database schema version number and have your application check that value when it starts up.

However, you would have to have an agreement between the folks that modify your database schema and the people that write your application that any changes to the database schema would cause the version number to increment.

Another way of doing this would be to have a procedure in your application startup that would verify each table for it's structure; if the structure doesn't match, then stop the application.

Something like:
Open Table A, Iterate through the fields, check their name, datatype, length, Allow Null or Not ...


What you describe is actually an indication of a bigger problem. No change control procedures. If there is a change to your database in a production enviornment, there has to be a checklist, including signoff that all parties involved are aware of the change. You can't have people making ad-hoc changes to a production system without proper procedures; it will always end up biting you in the end.

Good Luck. Thumbs Up | :thumbsup:
AnswerRe: What is the best way to track 'database' modifications? Pin
Gerben Jongerius11-Oct-10 3:08
Gerben Jongerius11-Oct-10 3:08 
AnswerRe: What is the best way to track 'database' modifications? Pin
Mycroft Holmes11-Oct-10 12:33
professionalMycroft Holmes11-Oct-10 12:33 
GeneralRe: What is the best way to track 'database' modifications? Pin
Luc Pattyn11-Oct-10 12:44
sitebuilderLuc Pattyn11-Oct-10 12:44 
GeneralRe: What is the best way to track 'database' modifications? Pin
Mycroft Holmes11-Oct-10 14:08
professionalMycroft Holmes11-Oct-10 14:08 
AnswerRe: What is the best way to track 'database' modifications? Pin
i.j.russell11-Oct-10 12:46
i.j.russell11-Oct-10 12:46 
QuestionSQL Functions Pin
eraser9509-Oct-10 3:00
eraser9509-Oct-10 3:00 
AnswerRe: SQL Functions Pin
PIEBALDconsult9-Oct-10 3:44
mvePIEBALDconsult9-Oct-10 3:44 
GeneralRe: SQL Functions Pin
eraser9509-Oct-10 23:54
eraser9509-Oct-10 23:54 
Questioncanot update identity column Pin
future38397-Oct-10 4:47
future38397-Oct-10 4:47 
AnswerRe: canot update identity column Pin
Eddy Vluggen7-Oct-10 7:11
professionalEddy Vluggen7-Oct-10 7:11 
AnswerRe: canot update identity column Pin
NeverHeardOfMe7-Oct-10 7:12
NeverHeardOfMe7-Oct-10 7:12 
AnswerRe: canot update identity column Pin
Bernhard Hiller7-Oct-10 21:36
Bernhard Hiller7-Oct-10 21:36 
GeneralRe: canot update identity column Pin
future38397-Oct-10 21:59
future38397-Oct-10 21:59 
QuestionWhat should I do to connect JavaScript to database Pin
blitz2bleach6-Oct-10 23:50
blitz2bleach6-Oct-10 23:50 
AnswerRe: What should I do to connect JavaScript to database Pin
J4amieC7-Oct-10 0:52
J4amieC7-Oct-10 0:52 
AnswerRe: What should I do to connect JavaScript to database Pin
Eddy Vluggen7-Oct-10 7:13
professionalEddy Vluggen7-Oct-10 7:13 
GeneralRe: What should I do to connect JavaScript to database Pin
blitz2bleach7-Oct-10 10:37
blitz2bleach7-Oct-10 10:37 

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.