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.

 
Go Back  dBforums > General > Database Concepts & Design > Semantic Constraint

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-15-06, 04:54
Olly Olly is offline
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
Reply With Quote
  #2 (permalink)  
Old 04-15-06, 06:11
r937 r937 is offline
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?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 04-15-06, 06:49
Olly Olly is offline
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
Reply With Quote
  #4 (permalink)  
Old 04-15-06, 06:51
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
are there any other types of constraint? non-semantic, maybe?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #5 (permalink)  
Old 04-15-06, 07:10
Olly Olly is offline
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
Reply With Quote
  #6 (permalink)  
Old 04-15-06, 08:28
r937 r937 is offline
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
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #7 (permalink)  
Old 04-15-06, 08:58
Olly Olly is offline
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
Reply With Quote
  #8 (permalink)  
Old 04-15-06, 09:07
r937 r937 is offline
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?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #9 (permalink)  
Old 04-15-06, 09:15
Olly Olly is offline
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!
Reply With Quote
  #10 (permalink)  
Old 04-15-06, 09:48
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
Data Modeling Essentials, Graeme C Stinson, Graham C Witt
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #11 (permalink)  
Old 04-15-06, 09:50
Olly Olly is offline
Registered User
 
Join Date: Mar 2006
Posts: 20
Thanks again
Reply With Quote
  #12 (permalink)  
Old 04-16-06, 22:46
rajiravi rajiravi is offline
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On