반응형
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 |
Tags
- 1463번
- FK 설정
- BC렌트
- 벤쿠버렌트
- 벤쿠버 렌트
- Linux
- binaray_gap
- 부산입국
- Java
- 프로그래머스
- 설탕문제
- Lesson2
- 벤쿠버집구하기
- 파이도 환불
- IntelliJ
- QA엔지니어
- 엔테크서비스
- FLEX5
- 레노보노트북
- Lesson3
- 외래키설정
- database연결
- 언마운트
- 리눅스
- codility
- 캐나다워홀
- 데이터의 무결성
- 백준알고리즘
- FIDO 환불
- 자바
Archives
- Today
- Total
목록꼬꼬마 개발자 노트/SQL (13)
대충이라도 하자
MySQL에서 boolean
From Mysql Ver. 5, data can be stored as boolean type. The problem is when you check on mysql database, it is not stored as true or false, but stored as 1 or 0. In fact, it is not boolean type. It is TINYINT(1). Therefore, when you bring the data, you should use 1 or 0. OR IF( , 'true', 'false') as