MS 엑세스의 데이타를 mysql db에 있는 테이블의 폼에 맞춰 csv로
저장한다음 mysqladm에서 (Insert textfiles into table) 옵션을 이용하여
입력을 시키려고 하는데 자꾸 문법 에러가 납니다.
php mysqladm 부분에서 설정부분은
Location of the textfile [ ] 찾아보기...<--버튼
-----------------------------------------------------
Replace table data with file [ ]Replace
The contents of the file replaces the contents of the selected table for rows with identical primary or unique key.
---------------------------------------------------------------------------
Fields terminated by [;] The terminator of the fields.
---------------------------------------------------------------------------
Fields enclosed by ["][ ] OPTIONALLY
Often quotation marks. OPTIONALLY means that only char and varchar fields are enclosed by the "enclosed by"-character.
---------------------------------------------------------------------------
Fields escaped by [\]
Optional. Controls how to write or read special characters.
---------------------------------------------------------------------------
Lines terminated by [
] Carriage return:
Linefeed:
---------------------------------------------------------------------------
Column names [ ]
If you wish to load only some of a table's columns, specify a comma separated field list.
이렇게 한다음 submit를 누르면 신텍스 에러가 뜬답니다..해결방법을 알구 싶어요..
안그러면 500개의 데이타를 일일이 손으로 다쳐야 되거든요,... T.T
|