2010년 1월 13일 수요일

문자열과 데이터 붙이기

select concat('select count(*) from ', table_name ,';') FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = 'nx_portal' and table_type = 'BASE TABLE' AND TABLE_ROWS <> 0

--문자열 붙이기 실습

댓글 없음:

댓글 쓰기