..
erwin tip
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

# Font 설정
canvers영역에서 마우스 오른쪽 - Default Fonts & Colors...
Physical 영역에서 Table Display

Format - Table Display : 아래의 내용을 선택한다.
- Column Datatype
- Null Option
- Foreign Key Designator
- Ungenerated Tables

# ERwin에서 Relationship에서의 표시에서 까만점블릿에서 삼발이형태의 인간모양으로 바꾸기
메뉴 Model Properties >  Notation Tab에서 Logical Notaion과 Physical Notation을 IE옵션 선택

 
# Table 과 column의 comments 생성하기
Database>Pre&Post Scripts>Table Level에서 Code tab을 선택하여 아래를 입력한다.
comment on table %TableName IS '%EntityName()';
%ForEachAtt(){
  comment on column %TableName.%ColName is '%AttName';
}

# 논리/물리 칼럼순서 맞추기
Physical mode에서 해당 테이블에 단축키 메뉴에서 column을 선택하고, 
메뉴창에서 Reset 의 버튼을 클릭하면  Reset Column Property창이 뜨고 
여기서 Reset Order 버튼을 누르면, Reset창이 뜨고 Attribute에 맞추어 Column을 정렬한다.

# 모델링을 통해 스크립트 추출 시 칼럼순서가 모델링에서 지정한 것과 다른 경우 맞추는 방법
Format>Stored Display Settings>Physical>Pysical Order 클릭 후 OK
 
# Logical / Physical 분리작업 하기 ( logical 명과  physical 명이 같이 변경되는것을 방지 )
전체선택(Ctrl + A)  후 마우스 우측    > Harden logical names

# sequence 생성
Database - sequece에서 생성

# pk 설정 : 모델링 그리기 전에 설정하기!!
Tools -> Names -> Model Naming Option -> Name Mappint 에 들어가시면 Key Group to Index

%If(%==(%KeyType,PK)){U_}_%TableName

%If(%==(%Substr(%KeyType,1,2),IE)){N}U_%TableName

%If(%==(%Substr(%KeyType,1,2),IE)){N}U%If(%==(%KeyType,PK)){PK}_%TableName%If(%Not(%==(%KeyType,PK))){%Substr(%KeyName,%Len(%KeyName))}

내가 쓰는 방식 : %If(%==(%Substr(%KeyType,1,2),IE)){IX}%If(%==(%Substr(%KeyType,1,2),AK)){UIX}%If(%==(%KeyType,PK)){PK}_%TableName%If(%Not(%==(%KeyType,PK))){_%Substr(%KeyType,3,1)}

fk 설정

# logical <-> physical 변경
  ctrl  +up  , down

# Logical은   한글 명만 표시 Physical에는 칼럼명, datatype표시
   Logical   > Format > Display Level > Attribute   
   Physical > Format > Display Level > Column


# Model properties 
   Notation > logical    Notation  >  IE
   Notation > Physical Notation  >  IE

# 칼럼 데이터형 지정하기
Entity 선택하고 오른쪽 클릭 - Colunms..선택 ( 다음부터는 더블클릭 )


http://blog.daum.net/2734/74
http://www.scribd.com/doc/221825/ERWin- 
http://m.dbguide.net/dbguide.db?cmd=view&boardUid=148181&boardConfigUid=9&categoryUid=216&boardIdx=132&boardStep=1  

db

http://ps2046.blog.me/80104032232  

db 연결 상세
http://joke00.tistory.com/113
http://www.koug.net/xe/8325


'DEV > 개발관련 툴 단축키' 카테고리의 다른 글

Oracle SQL Developer 단축키  (0) 2017.08.01
노트북 마우스 패드 끄기  (0) 2015.02.16
한글 자주사용하는 단축키 정리  (0) 2014.11.28
  Comments,     Trackbacks