| Author |
Message |
CrispinH
Joined: 21 Nov 2005 Posts: 38
|
Posted: Thu Mar 12, 2009 4:56 pm Post subject: Suggestion - database integrity check |
|
|
When developing databases, particularly in the early stages, I frequently make large changes to the structure of tables and some of the stored procedures don't always catch up. It would therefore be useful to have an extension to SQL Refactor (or perhaps SQL Compare) where you can run an integrity check on the entire database to make sure that all is well before attempting to use SQL Compare to copy it to a test environment. SQL Compare does throw errors if the stored procedures contain invalid columns, so it should be a small step (?) to be able to list anomalies for the entire database.
Crispin |
|
| Back to top |
|
 |
David Atkinson
Joined: 05 Dec 2005 Posts: 1082
|
Posted: Thu Mar 12, 2009 5:02 pm Post subject: |
|
|
We're definitely considering something like this and there is a fair amount we could do in this area, checking for orphaned references being just one of them.
What else might you want to have checked?
Regards,
David Atkinson
Product Manager
Red Gate Software |
|
| Back to top |
|
 |
CrispinH
Joined: 21 Nov 2005 Posts: 38
|
Posted: Thu Mar 12, 2009 8:16 pm Post subject: |
|
|
In terms of fixing problems, tables missing a primary key is an obvious one. I'll think about other issues and post them later.
Crispin
[/list] |
|
| Back to top |
|
 |
CrispinH
Joined: 21 Nov 2005 Posts: 38
|
Posted: Mon Mar 16, 2009 4:58 pm Post subject: |
|
|
| I notice that something (probably SQL Prompt) underlines invalid columns in a stored procedure in red, so maybe having a menu option on SQL Refactor or SQL Prompt that allows the deletion of invalid columns would be a good start. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group