database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 6633 게시물 읽기
No. 6633
FOREIGN KEY에 관해 질문이여
작성자
조진우(열혈지누)
작성일
2006-04-21 16:28
조회수
2,755

안녕하세여..초보입니다.이번에는 foreign key 설정 때문에 질문 드립니다. 거의 모든 책에서 외래키 제약 조건 해결로 on update cascade, on delete cascade를 이용하고 있지 않습니까..저희 같은 하나키가 여러 테이블에 외래키로 들어갑니다. 그래서 아무 옵션없이 그냥 관계만 유지 시킬가도 생각했는데...아 이게 질문이 아니고여 제가 영어를 무지 못해서..match full,match partial, match simple의 의미하고 사용예좀 가르쳐 주세요..정말 죄송하다는걸 알면서도 질문합니다.

고맙습니다

 

이 글에 대한 댓글이 총 2건 있습니다.

A value inserted into the referencing column(s) is matched against the values of the referenced table and referenced columns using the given match type. There are three match types: MATCH FULL, MATCH PARTIAL, and MATCH SIMPLE, which is also the default. MATCH FULL will not allow one column of a multicolumn foreign key to be null unless all foreign key columns are null. MATCH SIMPLE allows some foreign key columns to be null while other parts of the foreign key are not null. MATCH PARTIAL is not yet implemented.

 

메뉴얼에 이렇게 되어 있네요..

http://database.sarang.net/database/postgres/manual/manual-8.0/sql-createtable.html

신기배(소타)님이 2006-04-21 16:52에 작성한 댓글입니다.

감사합니다..예도 보여주시면 안되까여..죄송스럽지만 제가 무지해서..흑흑

조진우(열혈지누)님이 2006-04-21 18:41에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
6636UTF-8, eucKR 인코딩 문제.. [2]
김명범
2006-04-23
5451
6635DB insert failed 오류 발생 [1]
최재곤
2006-04-22
2626
6634postgreSQL을 MS-SQL로 이전하는 방법??? [3]
김명범
2006-04-22
2638
6633FOREIGN KEY에 관해 질문이여 [2]
조진우
2006-04-21
2755
6632postgresql 다운받는 곳 좀 알려주세요~~~ [1]
please
2006-04-21
2548
6631중복제거 및 원하는 정열순서 쿼리 질문입니다. [1]
이승택
2006-04-20
2827
6630plpgsql function 설정 관련 [2]
영수
2006-04-20
2910
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.016초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다