| |
|
If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
|
 |

04-15-06, 04:54
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 20
|
|
|
Semantic Constraint
|
|
Hi all:
Just wondering if someone could help me with the following: I have been asked to describe one limitation a semantic constraint can impose, and so far I have come up with the following: "Semantic constraints can prohibit what changes to data are allowed", "And/or without an assigned semantic constraint, data collated or input wouldn’t have any meaning, thereby rendering any data/string search ineffective".
Could someone please advise me if I’m either on the right or wrong lines?
Many thanks
Oliver 
|
|

04-15-06, 06:11
|
|
SQL Consultant
|
|
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
|
|
"prohibit what changes are allowed" doesn't make sense -- perhaps it should say "enforce what changes are allowed"
the second one, well, how should i put this, makes even less sense
in your words, what is a semantic constraint?
|
|

04-15-06, 06:49
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 20
|
|
|
|
okay:
Well a semantic constraint can used for restricting data in a database, thus one can then give users error msg like: "Integrity Constraint Violation", when an attempt is made to enter an invalid entry, therefore could the above example be used to describe a limitation a semantic can impose?
Thanks
Oliver 
|
|

04-15-06, 06:51
|
|
SQL Consultant
|
|
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
|
|
are there any other types of constraint? non-semantic, maybe?
|
|

04-15-06, 07:10
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 20
|
|
Hi:
Just need to know whether the above descriptive was a good enough example of the type of limitation a Semantic Constraint can impose?
Thanks
|
|

04-15-06, 08:28
|
|
SQL Consultant
|
|
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
|
|
you mean the "data wouldn't have any meaning" statement
no, i don't think so
|
|

04-15-06, 08:58
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 20
|
|
Okay,
I alternatively have the following simplified defention of my own for "Semantic Constraint", maybe this will be more acceptable: "A semantic constraint defines the acceptable value domain for an attribute or a consistency relationship between attribute values".
Does this then make more sense?
Thanks
Oliver
|
|

04-15-06, 09:07
|
|
SQL Consultant
|
|
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
|
|
yeah, that's gorgeous, which book/website did you lift that out of? 
|
|

04-15-06, 09:15
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 20
|
|
lol
The "Semantic" meaning was hidden deep within my Uni text book! I have just condensed the text to come up with a simplified definition. Right, now I glad I'm on the right track!
Thanks for your help, very much appreciated.
Oliver
p.s you couldn't recommend any good relational database (Theory & Design) books could you? Mine appear very limited when it comes to advanced topics!
|
|

04-15-06, 09:48
|
|
SQL Consultant
|
|
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
|
|
Data Modeling Essentials, Graeme C Stinson, Graham C Witt
|
|

04-15-06, 09:50
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 20
|
|
Thanks again 
|
|

04-16-06, 22:46
|
|
Registered User
|
|
Join Date: Apr 2004
Location: Toronto, Canada
Posts: 249
|
|
|
An excellent book is the one by Chris Date
The title says it all. No database practitioner should be without it.
Ravi
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|