반응형
250x250
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
- codebuild
- codepipeline
- Kafka
- JavaScript
- IntelliJ
- AWS CI/CD 구축하기
- kubeflow
- Flux
- chartjs
- VPN
- node
- COALESCE
- aws
- docker
- Spring
- SQL
- 도커
- Airflow
- codedeploy error
- codedeploy
- redis
- PostgreSQL
- Python
- bootstrap
- Jenkins
- or some instances in your deployment group are experiencing problems.
- Spring Error
- chart.js
- aws cicd
- java bigdecimal
Archives
- Today
- Total
목록cast convert (1)
Small Asteroid Blog
[SQL] cast / convert
cast convert 는 데이터 타입 변환 함수이다. 데이터형식을 다른 유형으로 데이터를 변환하는데 사용한다. 사용하는 방식만 다르지 하는일은 같다. convert에는 cast에 없는 스타일을 정의할 수 있는 기능이 존재한다. -Float, NUMERIC에서 INTEGER로 변환할 때 cast()함수는 결과를 자른다. cast( ' [변환하고자 하는 데이터] ' as [데이터형식] ) select cast( ceiling(sum(normal_time) / 60.0 ) as int) normal_min select cast(29.7 AS INT) --30 - 날짜 변환에 유용하게 사용 - 부동 소수점 또는 숫자에서 정수로 변환할 때 convert() 함수는 결과를 자른다. 다른 변환일 경우 반올림한다. ..
카테고리 없음
2021. 7. 15. 15:40