Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- Bridge Pattern #구조패턴 #Structure Pattern
- PostgreSQL
- CentOS
- 데이터베이스
- 자바 #인터페이스 #추상클래스 #abstract #
- 프록시패턴 #Gof #ProxyPattern #Proxy
- GoF #빌더패턴 #Builder Pattern
- MariaDB #DB #기본쿼리 #select
- GOF #
Archives
- Today
- Total
개발자 기초부터 시작하기
Maria DB - 날짜형 함수들에 대한 정리
-- 날짜형 함수 select CURDATE(), CURRENT_DATE; -- 년월일 select CURTIME(), CURRENT_TIME; -- 시분초 select now(), sysdate(), current_timestamp(); -- 년월일 시분초 -- now 와 sysdate의 차이 select now(), sleep(2), now(); -- now는 결과의 변화가 없음 ( now() 는 상수) select sysdate(), sleep(2), sysdate(); -- sysdate는 2초 뒤의 시간을 반환함. -- date_format .. 되게 다양한 포맷팅들을 지원함.. select date_format( now(), '%Y년 %m월 %d일 %h시 %i분 %s초'); -- '2019년 ..
데이터베이스/MySQL 와 Maria DB
2019. 5. 8. 19:22