Skip to content
Gnitfos 2009 home!
http://fais.kr/xe/
글수
7
회원 가입
로그인
MySQL 에서 범위로 데이터 가져오기.
지에프
http://fais.kr/xe/1027
2009.12.01
10:00:36
5693
마이 에스큐엘
where (regdate between '2009-02-01' and '2009-02-05')
이 게시물을..
목록
엮인글 주소 : http://fais.kr/xe/1027/665/trackback
번호
분류
자바스크립트 (17)
피에이치피 (11)
마이 에스큐엘 (7)
작업 (1)
기타 (32)
아작스 (3)
글쓴이
날짜
조회수
공지
FAQ > 이지보드와 미니홈피에도 있음
44
지에프
2009-04-21
39629
7
마이 에스큐엘
Warning: mysql_query(): Unable to save result set 에러발생시 처리방법 -
Warning: mysql_query(): Unable to save result set 아래와 같이 mysql 에러가 발생한다면, 그것은 mysql의 database 자료가 정상적(corrupt)이지 못해서 발생하는 에러입니다. ----------------------------------------------------------------Warning: mysql_query(): Unable to save result set in /home/zmnkh/public_h-tml/index.php on line 88---------------------------------------------------------------- 이럴때에는 mysql 데몬을 일단 중지하고, (pkill mysql or mysqladmin -u root -p shutdown) myisamchk 명령으로 database 등을 검사합니다. 우선 에러가 발생하는 mysql 의 database를 확인하고, myisamchk -r /usr/local/my...
2
57
지에프
2010-11-19
20444
6
마이 에스큐엘
update - replace : 데이터의 특정단어만 다른 단어로 바꾸는 방법 -
REPLACE(str, from_str, to_str) REPLACE(바꿀려는 필드명, 수정전 문자열,수정후 문자열)mysql>update member set email=REPLACE(email,neet,n-et);http://database.sara-ng.net
3
22
지에프
2010-11-01
3471
5
마이 에스큐엘
JOIN 과 그에 따른 Slow Query(슬로우 쿼리) -
http://blog.bsmind.c-o.kr/84
26
지에프
2010-09-13
18324
마이 에스큐엘
MySQL 에서 범위로 데이터 가져오기. -
where (regdate between '2009-02-01' and '2009-02-05')
1
지에프
2009-12-01
5694
3
마이 에스큐엘
Mysql 비교연산자 -
Operators Allowed in the WHERE Clause With the WHERE clause, the following operators can be used: Operator Description = Equal <> Not equal > Greater than < Less than >= Greater than or equal <= Less than or equal BETWEEN Between an inclusive range LIKE Search for a pattern IN If you know the exact value you want to return for at least one of the columns Note: In some versions of SQL the <> operator may be written as !=
1
1
지에프
2009-07-28
30178
2
마이 에스큐엘
MySQL Data Types - 출처:http://www.w3schools.com -
MySQL Data Types In MySQL there are three main types : text, number, and Date/Time types. Text types: Data type Description CHAR(size) Holds a fixed length string (can contain letters, numbers, and special characters). The fixed size is specified in parenthesis. Can store up to 255 characters VARCHAR(size) Holds a variable length string (can contain letters, numbers, and special characters). The maximum size is specified in parenthesis. Can store up to 255 characters. Note: If you put a greater value ...
2
지에프
2009-06-17
29463
1
마이 에스큐엘
mysql의 테이블필드의 Collation이 utf8_general_ci 일경우 한글깨지지않게 읽는 법 -
제목처럼 테이블필드가 설정되어있을경우 그냥 쿼리를 보내면 한글은 죄다 '?'로 보내온다. 따라서 SELECT문 날리기 전에 아래와 같은 쿼리를 보내줘야 한다.mysql_query("set character set euckr",$DB_CONNECT);그럼 한글이 정상적으로 보내온다.SQL에 대한 지식이 짦다. 이렇게 하라고 해서 하지만 왜 하는 지 확신이 안선다. 공부좀 해야겠다.몇시간동안 이방법을 찾으면서 느낀점은...뭐든 제대로 알아야한다는 것... 대충알고 얕게 알면 몸이 고생한다는 것....ㅡ.ㅡ;
지에프
2009-05-17
3204
목록
쓰기
첫페이지
1
끝페이지
제목
내용
제목+내용
댓글
이름
닉네임
아이디
태그
검색
취소
home
Biblical Expressions
FAQ
링크
아이디 :
비밀번호 :
로그인 유지
회원 가입
아이디/비밀번호 찾기
회원:
1
새글:
0
등록일:
2009.04.01
오늘 :
827
어제 :
1,571
전체 :
746,205
지에프
지에프
774
지에프
7
Powered by
XE
.
Language:한국어
English
中文(中国)
日本語
Español
Русский
Français
中文(臺灣)