본문 바로가기

분류 전체보기377

Teradata - Interval 과 Add_Months 비교 전월 같은 월 계산시에 오류가 발생할 수 있는 경우가 있다. 예를 들어, 7월은 31일까지 있지만 6월은 30일까지 밖에 없다. 또는 2월이 마지막 일이 28일 혹은 29일이다. 이런 경우 interval 을 사용하면 오류가 발생할 수 있다. SEL DATE '2014-07-31' - INTERVAL '1' MONTH; > SELECT Failed. [2665] Invalid DATE. SEL ADD_MONTHS(CAST('2014-07-31' AS DATE ),-1); > 2014-06-30 2014. 8. 28.
텔넷 접속 수 변경 윈도우서버에서 기본적으로 텔넷으로 접속할수 있는 수가 2로 제한되어 있다. 이것을 변경하기 위해서 다음과 같이 한다. C:\Users\Administrator>tlntadmn config 다음은 localhost의 설정입니다. 에 매핑된 키 : YES 유휴 세션 시간 제한 : 1 시간 최대 연결 : 5 텔넷 포트 : 23 실패한 최대 로그인 시도 횟수 : 3 연결 해제 시 작업 마침 : YES 작업 모드 : Console 인증 메커니즘 : NTLM, Password 기본 도메인 : WINSVR 상태 : 실행 중 C:\Users\Administrator>tlntadmn /? 사용법: tlntadmn [컴퓨터 이름] [일반 옵션] start | stop | pause | continue | -s | -k |.. 2014. 6. 3.
ORACLE TO TERADATA MIGRATION GUIDELINES Primary Index creation rules: OracleTeradataPRIMARY KEYMake UPI and change those columns to NOT NULL.No PRIMARY KEY but one or more UNIQUE indexesCreate UPI with unique index with the least number of columns. Maintain NULL/NOT NULL constraint as is.No PRIMARY KEY, no Unique indexes, but only non-unique indexesPick a good candidate for PI and create NUPI. Maintain NULL/NOT NULL constraint as is.N.. 2014. 4. 28.
Performance tuning #1 출처: http://www.teradatatips.com/2010/07/performance-tuning-1.html I have taken a long break from updating this blog. To appease my mind, I am going to update a series of posts for Performance tuning, as it is going on in my project work. When it comes to performance tuning, we cannot stick to a certain set of rules. It varies based on the data you are dealing with. Although, we can create a base.. 2014. 4. 24.