![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I currently avoid using these, relying instead on programmed manipulation of the database using the front end. I can understand that there are advantages to using both, specifically automatic maintenance of constraints. I am a bit cautious about slight mistakes cascading through the entire database and wreaking unpredictable havoc, however. Does anyone older and wiser have advice regarding this choice? John |
#3
| |||
| |||
|
|
I currently avoid using these, relying instead on programmed manipulation of the database using the front end. I can understand that there are advantages to using both, specifically automatic maintenance of constraints. I am a bit cautious about slight mistakes cascading through the entire database and wreaking unpredictable havoc, however. Does anyone older and wiser have advice regarding this choice? |
#4
| |||
| |||
|
|
"John" <?> wrote in message news:40324d4e$0$16752$fa0fcedb (AT) lovejoy (DOT) zen.co.uk... I currently avoid using these, relying instead on programmed manipulation of the database using the front end. I can understand that there are advantages to using both, specifically automatic maintenance of constraints. I am a bit cautious about slight mistakes cascading through the entire database and wreaking unpredictable havoc, however. Does anyone older and wiser have advice regarding this choice? John Although I am neither, I would love to add my $.02 I abhore enforcement of referential integrity and triggers. Here's why: I am a programmer. (At least I used to be a programmer before I became a project manager.) Writing programs, I know what will happen when the code runs. When I give control over to a DBMS, |
#5
| |||
| |||
|
|
"John" <?> wrote in message news:40324d4e$0$16752$fa0fcedb (AT) lovejoy (DOT) zen.co.uk... I currently avoid using these, relying instead on programmed manipulation of the database using the front end. I can understand that there are advantages to using both, specifically automatic maintenance of constraints. I am a bit cautious about slight mistakes cascading through the entire database and wreaking unpredictable havoc, however. Does anyone older and wiser have advice regarding this choice? John Although I am neither, I would love to add my $.02 I abhore enforcement of referential integrity and triggers. Here's why: I am a programmer. (At least I used to be a programmer before I became a project manager.) Writing programs, I know what will happen when the code runs. When I give control over to a DBMS, then I lose the ability to force events from within the program. |
|
In addition, putting triggers and referenial integrity into the DBMS takes my business objects (rules) and puts them in the database layer. I prefer to put business rules in the application layer, where they can be changed. |
|
This is the same reason I always use surrogate keys. |
#6
| |||
| |||
|
|
I currently avoid using these, relying instead on programmed manipulation of the database using the front end. I can understand that there are advantages to using both, specifically automatic maintenance of constraints. I am a bit cautious about slight mistakes cascading through the entire database and wreaking unpredictable havoc, however. Does anyone older and wiser have advice regarding this choice? John |
#7
| |||
| |||
|
|
Triggered actions certainly impose some risk. However, referential integrity constraints pose no threat. This suggests one should maximize their use of declarative integrity constraints and minimize their use of triggered actions. Of course, one may find times one needs to use a triggered action or two. |
#8
| |||
| |||
|
|
"419-Buster" <seeyourlights (AT) hotmail (DOT) com> wrote in message news:1034kvhc1eddpbb (AT) corp (DOT) supernews.com... I am a programmer. (At least I used to be a programmer before I became a project manager.) Writing programs, I know what will happen when the code runs. When I give control over to a DBMS, In other words, you are ignorant of data management principles and your ignorance causes you to feel fear. |
#9
| |||
| |||
|
|
"Bob Badour" <bbadour (AT) golden (DOT) net> wrote in message news oudnRuTRfiXy6_dRVn-jQ (AT) golden (DOT) net..."419-Buster" <seeyourlights (AT) hotmail (DOT) com> wrote in message news:1034kvhc1eddpbb (AT) corp (DOT) supernews.com... I am a programmer. (At least I used to be a programmer before I became a project manager.) Writing programs, I know what will happen when the code runs. When I give control over to a DBMS, In other words, you are ignorant of data management principles and your ignorance causes you to feel fear. Actually no. I am very well versed in data management principles. |
#10
| |||
| |||
|
|
When I give control over to a DBMS, then I lose the ability to force events from within the program. In addition, putting triggers and referenial integrity into the DBMS takes my business objects (rules) and puts them in the database layer. I prefer to put business rules in the application layer, where they can be changed. This is the same reason I always use surrogate keys. |
![]() |
| Thread Tools | |
| Display Modes | |
| |