Database assertion its types and enforcement?

Database assertion its types and enforcement?

Aundrea 0 2 05:35
Hi, for Best DB website of India database assertion has no type, what it does is something like this:

1. it's created by "create assertion assertion_name check (condition);
2. "condition" in the above statement could be any query that involves a boolean expression
such as >=, <=, <>, exists, not exists, etc.
3. say, if you modify a database by insert, delete or update, if the condition in the assert statement holds, then modification will be allowed; otherwise, no modification will take place.

Hope that helps.

-Alan

Comments

반응형 구글광고 등
State
  • 현재 접속자 49 명
  • 오늘 방문자 1,043 명
  • 어제 방문자 1,322 명
  • 최대 방문자 2,087 명
  • 전체 방문자 699,622 명
  • 전체 게시물 7,233 개
  • 전체 댓글수 8,076 개
  • 전체 회원수 8,669 명
Facebook Twitter GooglePlus KakaoStory NaverBand