select 일 경우 row count 는 

select found_rows();

http://dev.mysql.com/doc/refman/5.7/en/information-functions.html#function_found-rows


insert, delete, update 일 경우 row count 는

select row_count();

http://dev.mysql.com/doc/refman/5.7/en/information-functions.html#function_row-count




'Development > DataBase' 카테고리의 다른 글

[MySQL] utf8_general_ci 와 utf8_unicode_ci 차이  (0) 2016.10.07
[MySQL] DB 용량 확인  (0) 2015.02.10
[MySQL] Index 해제 / 설정  (0) 2015.01.16
[MySQL] CSV 파일 Import 방법  (0) 2015.01.16
MySQL 외부 접속 허용  (0) 2015.01.14
안정적인 DNS서비스 DNSEver DNS server, DNS service
Posted by 키르히아이스
,